Slave processor within a system-on-chip

ABSTRACT

An integrated circuit can include a slave processor configured to execute instructions. The slave processor can be implemented in programmable circuitry of the integrated circuit. The integrated circuit also can include a processor coupled to the slave processor. The processor can be hardwired and configured to control operation of the slave processor.

TECHNICAL FIELD

This disclosure relates to integrated circuits (ICs) and, moreparticularly to a slave processor implemented within a system-on-chiptype of IC.

BACKGROUND

A system-on-chip, or “SOC,” is an integrated circuit (IC) that includesa processor that is coupled to one or more other circuits. In somecases, the processor and other circuits are implemented on a same die.In other cases, the processor and other circuits are implemented on twoor more dies that may be coupled together, e.g., via a common substrateor interposer. In either case, the SOC is packaged and provided as asingle IC.

The processor is typically implemented as a hardwired processor that iscapable of executing program code. The other circuits coupled to theprocessor are typically implemented as hardwired circuitry. In somecases, the other circuits include specialty circuits with particular,predetermined functions. These other circuits can operate cooperativelywith one another and/or with the processor. In some SOCs, the processoris capable of operating in close coordination with the other circuits.

SUMMARY

One or more embodiments are directed to an integrated circuit (IC). Inone aspect, an IC can include programmable circuitry configured toimplement an overlay circuit specified by an overlay. The IC can alsoinclude a processor coupled to the programmable circuitry and configuredto control the programmable circuitry through execution of a framework,wherein the framework provides high-productivity language control ofimplementation of the overlay in the programmable circuitry.

One or more embodiments are directed to a method. In an aspect, a methodcan include providing, within an integrated circuit, programmablecircuitry configured to implement an overlay circuit specified by anoverlay. The method can also include providing, within the integratedcircuit, a processor coupled to the programmable circuitry andconfigured to control the programmable circuitry through execution of aframework, wherein the framework provides high-productivity languagecontrol of implementation of the overlay in the programmable circuitry.

One or more embodiments are directed to an IC. In one aspect, an IC caninclude programmable circuitry configured to implement an overlaycircuit specified by an overlay, wherein the overlay circuit includes atrace buffer configured to receive a probed signal from circuitry withinthe overlay circuit. The trace buffer can be configured to generatetrace data from the probed signal and store the trace data in a runtimeallocated memory. The IC can include a processor coupled to theprogrammable circuitry and configured to control operation of the tracebuffer, wherein the processor is configured to read the trace data fromthe runtime allocated memory.

One or more embodiments are directed to a method. In an aspect, a methodcan include providing, within an IC, a programmable circuitry configuredto implement an overlay circuit specified by an overlay, wherein theoverlay circuit includes a trace buffer configured to receive a probedsignal from circuitry within the overlay circuit. The trace buffer canbe configured to generate trace data from the probed signal and storethe trace data in a runtime allocated memory. The method can alsoinclude providing, within the IC, a processor coupled to theprogrammable circuitry and configured to control operation of the tracebuffer, wherein the processor is configured to read the trace data fromthe runtime allocated memory.

One or more embodiments are directed to an IC. In one aspect, an IC caninclude a slave processor configured to execute instructions, whereinthe slave processor is implemented in programmable circuitry of the IC.The IC can include a processor coupled to the slave processor, whereinthe processor is hardwired and configured to control operation of theslave processor.

One or more embodiments are directed to a method. In an aspect, a methodcan include providing a slave processor configured to executeinstructions, wherein the slave processor is implemented in programmablecircuitry of an IC. The method can also include providing, within theIC, a processor coupled to the slave processor, wherein the processor ishardwired and configured to control operation of the slave processor.

This Summary section is provided merely to introduce certain conceptsand not to identify any key or essential features of the claimed subjectmatter. Other features of the inventive arrangements will be apparentfrom the accompanying drawings and from the following detaileddescription.

BRIEF DESCRIPTION OF THE DRAWINGS

The inventive arrangements are illustrated by way of example in theaccompanying drawings. The drawings, however, should not be construed tobe limiting of the inventive arrangements to only the particularimplementations shown. Various aspects and advantages will becomeapparent upon review of the following detailed description and uponreference to the drawings.

FIG. 1 illustrates an example of a productivity platform that includes asystem-on-chip (SOC) type of integrated circuit (IC) having programmablecircuitry.

FIG. 2 illustrates an example of the SOC of FIG. 1.

FIG. 3 illustrates an example of data structures stored in a memory thatsupport operation of the productivity platform of FIG. 1.

FIG. 4 illustrates an example method of operation for the productivityplatform of FIG. 1.

FIG. 5 illustrates an example method of implementing a productivityplatform.

FIG. 6 illustrates an example implementation of an SOC including probecapabilities.

FIG. 7 illustrates another example implementation of an SOC includingprobe capabilities.

FIG. 8 illustrates an example method of probing signals.

FIG. 9 illustrates an example waveform view generated by the processorof the SOC.

FIG. 10 is an example of a slave processor.

FIG. 11 is an example implementation of an SOC with two processors eachoperating as a master processor and including multiple instances of aslave processor.

FIG. 12 illustrates another example implementation of a slave processor.

FIG. 13 illustrates another example implementation of a slave processor.

FIG. 14 illustrates another example implementation of a slave processor.

FIG. 15 illustrates an example method of using a slave processor.

FIG. 16 illustrates an example method of implementing overlays.

FIG. 17 illustrates an example implementation of an SOC including probecapabilities and a soft-processor.

FIG. 18 illustrates another example architecture for an SOC type of IC.

DETAILED DESCRIPTION OF THE DRAWINGS

While the disclosure concludes with claims defining novel features, itis believed that the various features described within this disclosurewill be better understood from a consideration of the description inconjunction with the drawings. The process(es), machine(s),manufacture(s) and any variations thereof described herein are providedfor purposes of illustration. Specific structural and functional detailsdescribed within this disclosure are not to be interpreted as limiting,but merely as a basis for the claims and as a representative basis forteaching one skilled in the art to variously employ the featuresdescribed in virtually any appropriately detailed structure. Further,the terms and phrases used within this disclosure are not intended to belimiting, but rather to provide an understandable description of thefeatures described.

This disclosure relates to integrated circuits (ICs). One or moreembodiments are directed to a productivity platform that uses asystem-on-chip (SOC) type of IC. In particular embodiments, theproductivity platform provides a configurable hardware platformimplemented using the SOC. The SOC includes a processor capable ofexecuting program code (e.g., an operating system and applications) andprogrammable circuitry coupled to the processor. The programmablecircuitry can be controllable by the processor of the SOC. The SOC mayinclude additional hardwired circuits coupled to the processor.

In one or more embodiments, the productivity platform provides aninfrastructure that allows an arbitrary overlay to be integrated into acomputing environment. The computing environment includes the processorof the SOC. An “overlay” refers to a pre-compiled bitstream specifying acircuit design for implementation within programmable circuitry. Anoverlay is itself programmable. For example, once an overlay isimplemented as an overlay circuit within programmable circuitry, theoverlay circuit is programmable. In particular embodiments, the overlayis designed to solve a class of problems. For purposes of discussion,the term “overlay circuit” is used to refer to an overlay that isimplemented within programmable circuitry.

In one or more embodiments, the productivity platform includes aframework, e.g., an executable framework. The framework is capable ofperforming life-cycle management in a high-productivity language (HPL).The framework is capable of providing, or including, APIs forcontrolling one or more overlays. Examples of the APIs included in theframework can include, but are not limited to, loading or implementingoverlays in programmable circuitry, initializing overlays, executingoverlays, controlling data interfacing or exchange between overlay(s)and a processor, halting or stopping an overlay, and/or removing anoverlay from programmable circuitry.

In particular embodiments, the framework is self-hosted in that theframework is executed by the processor of the SOC used in theproductivity platform. In an aspect, the processor of the SOC is anexample of an embedded processor of the SOC. In executing the framework,the productivity platform and, in particular the SOC, is capable ofproviding a browser-enabled interface to other computing devicesexternal or separate from the productivity platform. For example, SOC iscapable of operating as a server and providing browser usable data(e.g., program code, markup language, scripts, or other suitable data)to the device. The browser usable data may be natively executable and/orinterpretable by the browser.

In one or more embodiments, the productivity platform facilitatesdevelopment of an overlay application. The development can be performedfrom a browser of a computing device that is communicatively linked tothe productivity platform. An overlay application refers to anapplication implemented using an HPL that is executable by the processorof the SOC and that is capable of accessing hardware functions of one ormore overlay circuits using an HPL API provided for such overlaycircuit(s). In particular embodiments, the HPL API of the overlaycircuit(s) may include bindings to one or more functions implemented ina high-level programming language (HLL) such as an efficiency levellanguage (ELL) as described hereinbelow.

In one or more embodiments, the productivity platform provides an HPLAPI for circuitry implemented in the programmable circuitry of the SOCand/or other circuitry of the SOC. The HPL API provides a developer withaccess to functions performed by the various circuit(s) of the SOC,whether hardwired and/or implemented within programmable circuitry. Theprocessor of the SOC is capable of providing runtime management ofvarious circuits and/or systems implemented within the SOC using the HPLAPI(s) provided by the framework.

In one or more embodiments, the framework executed by the processor ofthe SOC includes a server-based integrated development environment(IDE). The server-based IDE is capable of developing programs written inthe HPL. Since the framework provides a browser-enabled interface toexternal computing devices, a user is capable of accessing theserver-based IDE using a data processing system that is coupled to theproductivity platform and that is capable of executing a standardbrowser application. Using the framework, hardware and/or softwaredesign, e.g., the creation of an overlay application, for the SOC may beperformed by or within the SOC itself. The data processing systemaccessing the productivity platform through the browser does not needany electronic design automation software, compilation software, orother specialized development tools installed on the data processingsystem in order to develop an overlay application.

In one or more embodiments, the productivity platform is capable ofproviding hardware trace and introspection. In particular embodiments,one or more probes are implemented within the overlay circuitsimplemented within the programmable circuitry of the SOC. Operation ofthe probes can be controlled, in real-time, e.g., during runtime of theSOC, using a processor of the SOC. For example, the HPL API(s) caninclude functions for controlling the overlay circuits including theprobes contained therein. As the probes generate trace data, the tracedata can be stored in a memory. The memory may be a program executionmemory, e.g., a random access memory (RAM), used by a processor of theSOC. As such, a processor of the SOC, whether hardwired or asoft-processor, is capable analyzing the trace data stored in programexecution memory in real-time during runtime. In response to analysis ofthe trace data, the processor of the SOC is capable of controllingoperation of circuits of the SOC, dynamically modifying circuitsimplemented within the SOC, dynamically removing circuits and/orimplementing new circuits within the SOC, and performing other tracerelated functions. The operations performed by the processor of the SOCare facilitated through the HPL API(s) of the framework.

In one or more embodiments, one or more slave processors are providedwithin the SOC. The SOC is capable of implementing one or more slaveprocessors as soft-processors in the programmable circuitry. Forexample, a processor of the SOC acting as a master is capable ofinstantiating one or more slave processors and controlling operation ofthe slave processor(s) thereafter. As an illustrative and non-limitingexample, the master processor of the SOC is capable of instantiating asoft-processor in the programmable circuitry of the SOC as a slaveprocessor, providing instructions to the slave processor, and providingdata to the slave processor. Under control of the master processor, theslave processor is capable of operating on the data by executing theinstructions. The master processor further is capable of starting andstopping the slave processor. For example, the hardwired processor iscapable of stopping the slave processor, providing new and/or updatedinstructions and/or new and/or updated data to the slave processor,starting the slave processor, and repeating the process. The hardwiredprocessor is further capable of resetting and/or restarting operation ofthe slave processor as may be required.

In particular embodiments, the slave processor is capable of operatingas a controller for one or more peripheral devices coupled to the SOC.The data and instructions, for example, may be provided by the masterprocessor to the slave processor for execution specifically forcontrolling a particular peripheral device. The functionality of theslave processor can be changed by the hardwired processor as needed byproviding new and/or different instructions and/or data to the slaveprocessor. In this manner, the slave processor is repurposed by themaster processor for controlling a different peripheral device byproviding new and/or updated instructions and/or new and/or updated datato the slave processor for execution.

Further aspects of the inventive arrangements are described below ingreater detail with reference to the figures. For purposes of simplicityand clarity of illustration, elements shown in the figures have notnecessarily been drawn to scale. For example, the dimensions of some ofthe elements may be exaggerated relative to other elements for clarity.Further, where considered appropriate, reference numbers are repeatedamong the figures to indicate corresponding, analogous, or likefeatures.

FIG. 1 illustrates an example of a productivity platform 100.Productivity platform 100 is a configurable hardware platform thatutilizes an SOC 200. In the example of FIG. 1, productivity platform 100is implemented as a circuit board having an SOC 200, memory 105, memory110, and one or more input/output (I/O) interfaces 115 (e.g., ports). Inthe example of FIG. 1, SOC 200 is implemented as an integrated circuit.As illustrated in the example of FIG. 1, SOC 200 is coupled to memory105, memory 110, and I/O interfaces 115. SOC 200 is implemented as anIC. SOC 200 is capable of executing a framework (not shown) that exposesHPL control over overlays and the development of overlay applications.

In one or more embodiments, memory 105 is implemented as a local memory.The term “local memory” refers to non-persistent memory device(s)generally used during actual execution of the program code. Examples oflocal memory include RAM and/or any of the various types of RAM that aresuitable for use by a processor during execution of program code such asdynamic RAM (DRAM). Memory 105 is capable of being used by SOC 200,e.g., the hardwired processor contained therein and/or other circuitssuch as soft-processors, as program execution memory or as a runtimememory.

In one or more embodiments, memory 110 is implemented as a bulk storagedevice. The term “bulk storage device” refers to a persistent datastorage device. Examples of a bulk storage device include, but are notlimited to, a hard disk drive (HDD), a solid state drive (SSD), flashmemory, and electrically erasable programmable read-only memory(EEPROM). In one or more embodiments, memory 110 is mounted toproductivity platform 100. In one or more other embodiments, memory 110is implemented as a removable memory. For example, memory 110 can beimplemented as a card reader and corresponding memory card that isinsertable and removable from the card reader. The card reader iscapable of receiving the memory card. The memory card can be implementedas a flash memory card or other suitable type of memory card that can beloaded into the card reader and accessed, e.g., read and/or written, bySOC 200.

I/O interfaces 115 include one or more communication ports. In one ormore embodiments, I/O interfaces 115 include communication ports such asa Universal Serial Bus (USB) port, an Ethernet port, and/or othersuitable communication ports. In one or more embodiments, I/O interfaces115 include communication ports that are configured for communicationwith one or more peripheral devices such as peripheral device 150. Inparticular embodiments, I/O interfaces 115 include one or more Arduinocompatible device interfaces. In particular embodiments, I/O interfaces115 include one or more Pmod compatible interfaces. The Pmod interface,or “Peripheral Module interface,” is an open standard defined byDiligent Inc. within the Digilent Pmod™ Interface Specification forperipherals used with field programmable gate arrays (FPGAs) and/ormicrocontrollers.

In the example of FIG. 1, productivity platform 100 is coupled to one ormore other systems. For example, productivity platform 100 is coupled toa data processing system 120, an access point 135, and/or the one ormore peripheral devices 150. While productivity platform 100 may becommunicatively linked to data processing system 120 and/or access point135, data processing system 120 and access point 135 are independent,e.g., different, systems than productivity platform 100.

Data processing system 120 can be implemented as any of a variety ofcomputing systems or devices capable of executing a browser 125 (e.g., abrowser application). As shown, data processing system 120 can include,or be coupled to, a display 130. Examples of data processing system 120can include, but are not limited to, a desktop computer, a laptopcomputer, a tablet computer, a mobile phone or other mobile device, orother suitable computing device capable of executing browser 125. Asgenerally known, a browser refers to a program with a graphical userinterface for displaying various types of markup language (e.g.,HyperText Markup Language or HTML), text, and other files and iscommonly used to navigate the World Wide Web and/or Internet.

Productivity platform 100 is capable of coupling to data processingsystem 120 through one of I/O interfaces 115. For example, productivityplatform 100 is capable of communicating with data processing system 120through an Ethernet connection, a USB connection, using Ethernet overUSB, or another suitable protocol and/or connection. In one or moreembodiments, productivity platform 100 is capable of communicating withdata processing system 120 wirelessly. The wireless connection may be adirect connection, e.g., peer-to-peer, or via a router or access pointsuch as access point 135. For example, productivity platform 100 iscapable of communicating with data processing system 120 via Bluetooth®or another similar wireless communication protocol or via WiFi™ or viaanother suitable wireless communication protocol.

Access point 135 is implemented as a networking hardware device thatallows other devices, e.g., productivity platform 100 and/or SOC 200, toconnect to a network such as network 140. In one or more embodiments,access point 135 is implemented as a wireless access point (e.g., aWAP). As an illustrative and non-limiting example, access point 135 canbe implemented as a base transceiver station, a repeater, a LAN accesspoint, WLAN access point, or any other system including equipment forcommunicating with devices whether wired or wirelessly. As such, accesspoint 135 can include one or more antenna elements and one or morecomponents for transmitting and receiving radio frequency (RF) signals(e.g. transceivers). Access point 135 may also include any of a varietyof other suitable components such as, for instance, network adapters,communication ports, and controllers.

Network 140 is the medium used to provide communication links betweenvarious devices and data processing systems such as sources 145 and/oraccess point 135. Sources 145, for example, may be remote dataprocessing systems, e.g., servers, networked data storage devices, orother suitable computing system. Network 140 may include connections,such as wire, wireless communication links, or fiber optic cables.Network 140 can be implemented as, or include, any of a variety ofdifferent communication technologies such as a wide area network (WAN),a local area network (LAN), a wireless network, a mobile network, aVirtual Private Network (VPN), the Internet, the Public SwitchedTelephone Network (PSTN), or the like.

SOC 200 includes a hardwired processor and programmable circuitry. Inparticular embodiments, SOC 200 is capable of executing a modernoperating system and a framework. A framework refers to software (e.g.,executable program code) that provides generic functionality that can beselectively changed by additional user-written code, thus providingapplication-specific software. A framework provides a standard way tobuild and deploy applications. A framework is a universal, reusablesoftware environment that provides particular functionality as part of alarger platform to facilitate development of software applications,products, and solutions. A framework can include support programs,compilers, code libraries, tool sets, and APIs that bring togetherdi□perent components to enable development of a project or system.

In general, an API refers to a set of subroutine definitions, protocols,and tools for building application software. In general terms, an API isa set of clearly defined methods of communication between varioussoftware components. An API describes and prescribes expected behavior,while the library is an actual implementation of this set of rules,e.g., in executable program code. Language bindings are an example of anAPI. A language binding, e.g., binding an HPL function to a C/C++method, maps the features and capabilities of one language to aninterface implemented in another language. A language binding allows alibrary or service written in one language to be used when developing inanother language.

In particular embodiments, the framework executed by SOC 200 facilitatesdevelopment of an overlay application. The APIs provided may be HPL APIsthat expose hardware functions of circuits implemented within SOC 200including overlay circuits. In this regard, HPL functions of a libraryaccessible via the HPL API are bound, e.g., associated with, hardwareoperations of the overlay circuits. One or more of the HPL functions maybe bound to lower-level HLL functions, e.g., a C/C++ function.

Typically, development for SOC 200 is performed in a host-targetenvironment where software or hardware for SOC 200 is first developed ona host data processing system such as data processing system 120 andthen downloaded to SOC 200 and executed and/or implemented therein. TheSOC is referred to as the target. The host-target developmentenvironment is characterized by longer compilation and debug times. Thehost-target environment is further characterized by a significant amountof complexity making such development environments difficult for newusers to learn and develop proficiency. The host-target environmenttypically imposes strict operating system restrictions on the host dataprocessing system in order to utilize the necessary development tools,which must be installed on the host data processing system.

In accordance with the inventive arrangements described herein, theframework executed by the processor of SOC 200 is self-hosting. As such,the processor within SOC 200 is capable of operating as a server that isaccessed by data processing system 120. In the example of FIG. 1, theproductivity platform provides an environment that utilizes aclient-server computing model where the processor in SOC 200 isoperating as the server and data processing system 120 is operating as aclient.

In the example of FIG. 1, the framework includes a server-based orweb-based IDE. The processor of the SOC is capable of executing theserver-based IDE, thereby supporting target-only interaction with SOC200. In other words, development for SOC 200 occurs on SOC 200 itself. Adeveloper need only access SOC 200 via browser 125 executing in dataprocessing system 120. In one or more embodiments, SOC 200 supportssoftware development through one or more HPLs. Examples of HPLs include,but are not limited to, Python, Scala, and R.

Software development can be performed on SOC 200 using an HPL. Whilehardware development, e.g., the actual design of an overlay, may stillbe performed on a host data processing system, overlays for circuitdesigns can be delivered to SOC 200 for implementation therein using oneor more software delivery mechanisms included in the framework executedby SOC 200. Examples of software delivery mechanisms that can be used todeliver bitstreams to SOC 200 can include, but are not limited to,Python pip package management, GitHub repositories, and Debian packages.

The overlays are highly configurable. Once an overlay is loaded into SOC200 and the circuitry specified by the overlay implemented inprogrammable circuitry of SOC 200 (referred to herein as an “overlaycircuit”), the overlay circuit can be further configured using theprocessor in SOC 200. The overlays and overlay circuits can be tracked,managed, and controlled within the runtime environment provided by theframework. As an illustrative and non-limiting example, an overlay maybe a drone control overlay that includes circuits for controlling sixmotor control subsystems of a drone. Each of these circuits may beconfigured and controlled independently. While some deployments of thedrone control overlay may utilize all size motor control circuits, otherdeployments may not. The overlay is designed with additional capacity toprovide increased flexibility in terms of configuration.

In particular embodiments, overlays are stored within memory 110. Inparticular embodiments, overlays are stored in one or more of sources145 (e.g., servers and/or other remote data processing systems) and canbe downloaded to productivity platform 100 for storage in memory 110and/or use within SOC 200. In any case, the overlays can be selected andimplemented within SOC 200 under control of the processor within SOC 200in executing the framework.

As discussed, an overlay refers to a pre-compiled bitstream specifying acircuit design for implementation within programmable circuitry. Theoverlay is bound, or associated with, additional supporting softwarereferred to as overlay software. The overlay software for a givenoverlay can include, but is not limited to, an HPL API for the overlay,metadata describing the circuitry included within or implemented by theoverlay, drivers of the overlay which may include operating systemdrivers written in lower-level programming languages (e.g., C/C++) oranother ELL, and/or libraries built on top of the drivers. The drivers,for example, are capable of performing tasks such as reading registers,memory mapped I/O, interrupts, and/or accessing a DMA circuit. Inparticular embodiments, the libraries are written in an HPL and providea high-level mechanism and abstraction for accessing the low-level APIsexposed by the drivers themselves. Overlay software may also includeother software that may be necessary to implement and/or control theoverlay circuit. For example, an overlay can include bindings executableby the processor of SOC 200 that may be necessary to facilitate useand/or exploitation of overlay circuit features.

An overlay can be used and reused for a variety of differentapplications. An overlay and the overlay software can be provided as aloadable library thereby allowing a user to integrate an overlay into alarger application that may be executing in the processor of SOC 200.The overlay, for example, can be integrated into an overlay applicationby runtime linking of the API for the overlay with application programcode that is executable by the processor of SOC 200.

In the example of FIG. 1, productivity platform 100 is capable ofproviding one or more overlays stored in memory 110 and/or accessing oneor more overlays from source(s) 145. In particular embodiments, thehardware functions of the overlay circuits are bound to callable objectsof the HPL. In an example, the HPL is Python, Scala, or R. Accordingly,the processor of SOC 200 is capable of selecting an overlay andimplementing the overlay using the programmable circuitry of SOC 200.The processor of SOC 200, being coupled to the programmable circuitry ofSOC 200, is capable of controlling the hardware functions of the overlaycircuit as implemented in the programmable circuitry of SOC 200. Theprocessor of SOC 200 can control the hardware functions of the overlaycircuit through the HPL API of the overlay circuit.

FIG. 2 illustrates an example of SOC 200 of FIG. 1. SOC 200 can includea processor system (PS) 202 coupled to programmable circuitry 204. Ingeneral, PS 202 is implemented as a hardwired system within SOC 200. Asshown, PS 202 can include a processor 206. Processor 206 can include oneor more cores each capable of executing program code. Processor 206 iscoupled to an interconnect 208. Interconnect 208 is coupled to a memorycontroller 210, a flash controller 212, and one or more I/O devices 214,216, and 218. Processor 206 further may be coupled directly to memorycontroller 210.

In one or more embodiments, processor 206 is capable of controllingprogrammable circuitry 204. For example, processor 206 is capable ofloading overlays and controlling operation of overlays as describedherein. In particular embodiments, programmable circuitry 204 iscontrollable by another device or system. For example, programmablecircuitry 204 may be controlled by a device or system external to SOC200.

Memory controller 210 is capable of communicating with one or moredifferent types of RAM located external to SOC 200, e.g., off-chip. Forexample, memory controller 210 is capable of accessing, e.g., readingand/or writing, memory 105. In one or more embodiments, memorycontroller 210 provides a plurality of ports. For example, processor 206is capable of accessing a port of memory controller 210. One or moreports of memory controller 210 can be made available to overlay circuitsimplemented in programmable circuitry 204.

Flash controller 212 is capable of communicating with an off-chip memorysuch as memory 110. In particular embodiments, flash controller 212 iscapable of providing a Quad Serial Peripheral Interface (QSPI), aparallel NOR/SRAM interface, a NAND interface, or other suitableinterface. Flash controller 212 can be implemented using any of avariety of suitable and compatible bit-widths. It should be appreciatedthat PS 202 can include any of a variety of different controllersdepending upon the particular memories that are coupled to SOC 200.

I/O devices 214, 216, and/or 218 may implement one or more of a USBinterface, an Ethernet interface, a Secure Digital (SD) interface,General Purpose I/O (GPIO) interface, a Universal AsynchronousReceiver/Transmitter (UART) interface, a Serial Peripheral Interface(SPI) bus interface, a Controller-Area-Network (CAN) interface, a TripleTimer Counter (TTC) and/or a Watchdog Timer (WDT) interface, and/or aJoint Test Action Group (JTAG) port or interface.

PS 202 optionally can include a direct memory access (DMA) circuit 220.In the example of FIG. 1, DMA circuit 220 is coupled to interconnect 208and to programmable circuitry 204. In the example of FIG. 2, DMA circuit220 is coupled to programmable circuitry 204 and to an overlay circuit222 implemented therein. In one or more other embodiments, DMA circuit220 is implemented in programmable circuitry 204 and is connecteddirectly to memory controller 210. In one or more other embodiments, aDMA circuit is included in PS 202 while one or more DMA circuits mayalso be implemented in programmable circuitry 204.

In particular embodiments, I/O devices 214, 216, and 218 are coupled toa fabric multiplexer input/output (FMIO) interface. Based upon userconfiguration of SOC 200, and, more particularly, PS 202, any one of I/Odevices 214, 216, and/or 218 can be coupled to programmable circuitry204 via the FMIO interface. This allows data being communicated via anyone of I/O devices 214, 216, and/or 218 to be routed to circuitry, e.g.,overlay circuit 222, within programmable circuitry 204 for furtherprocessing and/or monitoring.

In particular embodiments, PS 202 is coupled to programmable circuitrythrough one or more interfaces. For example, interconnect 208 can becoupled to programmable circuitry 204 through an interface (not shown).DMA circuit 220 can be coupled to programmable circuitry 204 through aninterface (not shown). Processor 206 can be coupled to programmablecircuitry 204 through an interface (not shown). In an example, theinterfaces can be implemented in accordance with the AdvancedMicrocontroller Bus Architecture (AMBA) AXI Protocol Specification (AXI)as published by ARM. In general, AXI is a high performance, highfrequency interface that is suitable for submicron interconnect. Itshould be appreciated that PS 202 can be coupled to programmablecircuitry 204 using any suitable on-chip interconnects or interfaces.

Programmable circuitry 204 can be implemented to include one or moreprogrammable circuit blocks that can be coupled together usingprogrammable interconnect circuitry. The programmable circuit blocks andthe programmable interconnect circuitry can be configured to implementone or more different physical circuits illustrated as overlay circuit222. In one or more embodiments, overlay circuit 222 is implementedwithin programmable circuitry 204 as part of an overlay that is selectedby processor 206. It should be appreciated that programmable circuitry204 is not operational or functional until configuration data is loadedwithin configuration memory of SOC 200 (not shown) thereby causingphysical circuitry to be implemented within programmable circuitry 204and establishing connectivity between the individual circuit elements ofthe physical circuitry.

FIG. 3 illustrates an example of data structures stored in memory 110 ofFIG. 1 that support operation of productivity platform 100. In one ormore embodiments, memory 110 stores an operating system 302 and aframework 304. Framework 304 can include a server-based IDE 306, one ormore HPL kernels 308, one or more compilers 310, one or more overlaysoftware(s) 312, and one or more overlays 314. In general, thecomponents such as operating system 302 and framework 304, with theexception of overlays 314, are executable by processor 206. Overlays 314are implemented in programmable circuitry 204, albeit under control ofprocessor 206.

In one or more embodiments, the software illustrated in FIG. 3 forproductivity platform 100 is delivered as a single image file that maybe stored on an SD card or other memory card that may be used toimplement memory 110. In an aspect, the image file requires no licensesor host-target tool flows (e.g., no installation of software on dataprocessing system 120 used to access productivity platform 100 viabrowser 125). The software included on the image file is capable ofexecuting natively on processor 206 of SOC 200.

In particular embodiments, operating system 302 is implemented as a fullmainline Linux distribution. In one or more other embodiments, adifferent operating system can be used. In particular embodiments,server-based IDE 306 is implemented as an open source software solution.In particular embodiments, server-based IDE 306 is implemented as aWeb-based IDE. Server-based IDE 306 is capable of supporting one or moredifferent programming languages such as any of the HPLs describedherein. In an example, server-based IDE 306 is capable of supportingcreation and sharing of documents that contain live program code,equations, visualizations, and explanatory text. As an illustrative andnon-limiting example, server-based IDE 306 is implemented as a JupyterNotebook.

In one or more embodiments, compilers 310 are capable of compiling anyof a variety of different program code whether an HLL such as C/C++ orHPLs. In particular embodiments, compilers 310 can implement or includeone or more cross-compilers for any non-application processor(s) thatmay exist or be implemented on productivity platform 100. For example,cross-compilers can be included for soft-processors that may beimplemented within the programmable circuitry of SOC 200 and/or forother hardwired processors that may be included on SOC 200, e.g., otherthan processor 206. In particular embodiments, SOC 200 includes one ormore hardwired processors in PS 202 in addition to processor 206. Suchadditional processors, for example, may be configured to providereal-time control and/or operation for other systems and/or circuitswhere such functions are not reliably implemented using processor 206,since processor 206 is tasked with executing operating system 302, HPLkernel 308, and server-based IDE 306. Compilers 310 are capable ofcompiling program code for execution by such processors. Server-basedIDE 306, for example, is capable of invoking one or more of compilers310.

Memory 110 also stores one or more HPL kernels 308. An HPL kernel is aprogram that is capable of running and introspecting program codewritten in an HPL. An HPL, for example, may be a scripted language thatrequires another software component, e.g., a virtual machine or kernel,to execute the scripts. Framework 304 can include one or more differentHPL kernels 308, e.g., to support different HPLs.

Memory 110 is capable of storing one or more overlays 314 and thecorresponding overlay software 312 for each such overlay. Memory 110 isalso capable of storing one or more libraries 316. Libraries 316 caninclude one or more HPL wrappers of programmable circuitry interfacesimplemented by overlays 314. For example, libraries 316 may be Pythonwrappers of interfaces for overlays 314. The wrappers, for example, arecapable of invoking functions coded in C, Fortran, or other optimizedELL type of program code, obtaining results from execution of suchfunctions, and returning the results to the HPL environment. In the caseof Python, for example, the wrapper is capable of bypassing the Pythonkernel (e.g., HPL kernel 308 for Python). In one or more embodiments,wrappers may be implemented using a foreign function interface.

Referring collectively to FIGS. 1-3, productivity platform 100 providesa boot-n-play out of the box experience to a developer. Upon power-up,processor 206 is capable of booting operating system 302 and executingserver-based IDE 306. Processor 206 is further capable of executing HPLkernel 308. As such, a developer is immediately able to begin developingfor SOC 200 using server-based IDE 306 executing on processor 206. Usingserver-based IDE 306 executing on processor 206, a developer is able towrite, execute, and debug application code written in an HPL. Libraries316, for example, may also include functions capable of analyzing tracedata generated from overlays, controlling the capture of trace datagenerated from overlays, reacting to trace data generated by overlays,and/or debugging HPL code. As generally noted, since server-based IDE306 is implemented as a Web-based IDE, data processing system 120 neednot have any development tools installed thereon. Data processing system120 is capable of providing access to server-based IDE 306 via browser125 executing therein as displayed on display 130.

Accordingly, productivity platform 100 provides HPL support forprogrammable circuitry control and communication. As such, softwareexecution by processor 206 is capable of driving hardware implementationat runtime. Further, productivity platform 100 provides anout-of-the-box development environment that is host-independent asdevelopers can create software and integrated hardware designs (e.g.,overlay applications) by working completely on the target (i.e., SOC200). In addition, software development relating to developingapplications executed by processor 206 can be performed independently ofhardware development, e.g., creating overlays.

FIG. 4 illustrates an example method of operation for productivityplatform 100 of FIG. 1. Method 400 can begin in a state where softwarefor productivity platform 100 is already stored on a memory such asmemory 110 accessible by SOC 200 and, more particularly, processor 206of SOC 200. In an example, a memory card that is pre-loaded with animage file including the program code described herein is inserted intothe memory card reader of productivity platform 100. In another example,the memory is coupled or attached to productivity platform 100. Theimage file can include the software architecture illustrated in FIG. 3.

In block 405, productivity platform 100 is powered-on. For example,productivity platform 100 is coupled to a power supply. In particularembodiments, the power supply is a wall power supply, e.g., an adapter,that is coupled to productivity platform 100. In particular embodiments,productivity platform 100 obtains power from a communications port. Forexample, a USB port of I/O interfaces 115 can be plugged into the USBport of another device such as data processing system 120, access point135, or another device or power source to provide power to productivityplatform 100.

In block 410, with power supplied to productivity platform 100, SOC 200begins the boot process. SOC 200 and, more particularly processor 206,is capable of booting operating system 302 and executing framework 304.For example, processor 206 is capable of executing server-based IDE 306and/or any of the software available in memory 110.

In block 415, processor 206 is capable of implementing an overlay.Processor 206 is capable of retrieving a selected overlay from memory110. The selected overlay may be a default overlay. Processor 206 iscapable of loading the overlay into SOC 200 to implement defaultcircuitry in programmable circuitry 204. Processor 206 is also capableof loading and executing any overlay software for the selected overlay.In one or more embodiments, each overlay is associated or bound to thecorresponding overlay software for that overlay. For example, processor206 is capable of loading and executing any drivers or other software,e.g., an HPL API for the overlay, in order to communicate with theoverlay circuit implemented in programmable circuitry 204.

As an illustrative and non-limiting example, library 316 can include alibrary including one or more functions that are common across differentoverlays. Such a library, when executed, allows processor 206 to load anarbitrary library as part of the framework. In one or more embodiments,processor 206 is capable of determining, for a given overlay,information about the overlay. The information, for example, may bespecified within metadata that is part of the overlay software for theoverlay. Examples of information included in the metadata for an overlayinclude, but are not limited to, what cores and/or slave processors areincluded in the overlay, the number of such cores and/or slaveprocessors, interfaces for accessing cores and/or slave processors,addresses for accessing cores, slave processors, and/or interfaces. Fromthe metadata, processor 206 is capable of determining which HPL APIs arevalid for the overlay that is implemented.

In one or more embodiments, the overlay circuit is a default circuitthat is capable of establishing default connections between processor206 within SOC 200 and the various I/O interfaces 115 of SOC 200. Inparticular embodiments, the overlay that is selected is bound to data aspart of the overlay software that may be used to configure PS 202. Forexample, the data included in the overlay software is capable ofconfiguring memory controller 210, flash controller 212, and I/O devices214-218 for operation with processor 206 and the default overlaycircuit.

In block 420, productivity platform 100 is coupled to access point 135.Productivity platform 100 is capable of coupling to access point 135 toaccess data processing system 120 and/or to access or downloadadditional overlays and/or other tools for execution by SOC 200 fromvarious ones of source 145. In particular embodiments, productivityplatform 100 is coupled to access point 135 via an Ethernet connection,e.g., an Ethernet cable. In particular embodiments, productivityplatform 100 is coupled to access point 135 via a wireless connection.For example, a wireless dongle that is plugged into one of the I/Ointerfaces 115 of productivity platform 100 may be used.

In one or more embodiments, productivity platform 100 is coupled toaccess point 135 via a USB over Ethernet connection. In one or moreembodiments, productivity platform 100 is capable of connecting directlyto data processing system 120. For example, productivity platform 100 iscapable of connecting directly to data processing system 120 via a USBconnection using the Ethernet over USB communications protocol.

In block 425, browser 125, executing in data processing system 120, iscapable of accessing productivity platform 100. For example, browser 125is pointed to the hostname of productivity platform 100 or to the IPaddress of productivity platform 100. After block 425, a developer,e.g., a user, is able to develop software for SOC 200 using framework304 executing in processor 206.

In block 430, processor 206 is capable of implementing differentoverlays. In one or more embodiments, processor 206, as part ofexecuting framework 304, is capable of implementing different overlaysas may be selected by a user. In particular embodiments, an overlay isselected via server-based IDE 306 for immediate implementation and/ortesting. In particular embodiments, an overlay is incorporated into anoverlay application being developed using server-based IDE 306. In anycase, processor 206 is capable of retrieving an overlay selected viaserver-based IDE 306 from memory 110 and/or a source 145. The overlaymay be retrieved using a mechanism such as GitHub cloning or pip packagemanagement.

Processor 206 loads the overlay into configuration memory cells of SOC200 thereby implementing the overlay circuit in programmable circuitry204. As discussed, processor 206 is capable of executing a library thatprovides HPL functions for implementing the overlay into programmablecircuitry 204. Processor 206 is capable of loading and executing thenecessary overlay software for the overlay to communicate and/or controlthe overlay circuit as implemented in programmable circuitry 204 of SOC200. As noted, processor 206 is capable of linking the HPL API of theoverlay with an application being developed or created in server-basedIDE 306. In block 430, processor 206 is capable of delivering hardware,e.g., an overlay, at runtime that matches or suites a user's needs.

In one or more embodiments, processor 206, in executing framework 304,is capable of locally compiling drivers for the overlay circuit that arecoded in a programming language such as C or another programminglanguage. The drivers may be wrapped in the high-productivity language.

In block 435, processor 206 optionally performs post-bitstreamconfiguration. Post-bitstream configuration refers to customizing theoverlay circuit by modifying behaviour of the overlay circuit and/ormodifying the overlay circuit itself after implementation inprogrammable circuitry 204 of SOC 200.

In one or more embodiments, an overlay is customized after beingimplemented in programmable circuitry 204 of SOC 200 by including orincorporating one or more run-time customizable elements (RCEs). An RCEis a generic subsystem that can be customized before and duringdeployment to perform di□erent functions. RCEs can be customized in avariety of ways. Examples of different techniques for customizing an RCEafter implementation in programmable circuitry 204 can include, but arenot limited to, loading RCEs with executable binaries, loading datamemory images into an RCE, writing to configuration registers within theRCEs, loading configuration bits via particular look-up table primitives(e.g., CFGLUT5 primitives), loading configuration bits through bitstreaminterfaces such as an Internal Configuration Access Port (ICAP) and/or aProcessor Configuration Access Port (PCAP), and/or loading configurationbits through serializer-deserializer (SERDES) dynamic reconfigurationports. The various techniques for customizing RCEs are accessible viaHPL APIs provided by the various overlays in which the RCEs areincluded.

The following are illustrative and non-limiting examples of customizingRCEs in an overlay or other circuit. In particular embodiments, anoverlay circuit implements one or more soft-processors. In someexamples, the soft-processors are implemented as slave processors. Forexample, processor 206 is capable of performing post-bitstreamconfiguration of the overlay circuit by loading different instructionsinto instruction memory of the soft-processor. The instructions may beloaded as an executable binary file. In one or more embodiments,processor 206 is capable of performing post-bitstream configuration ofthe overlay circuit by loading different data into data memory, e.g.,runtime execution memory, of the soft-processor. The data, for example,may be loaded as a data memory image.

In another example, processor 206 is capable of performingpost-bitstream configuration of the overlay circuit by loading differentdata, e.g., a predetermined value or instruction included in the dataand stored in the data memory of the soft-processor, that causes thesoft-processor to perform a different function or a particular functionselected from a plurality of different functions of the executablebinary based upon the data value that is read. The value, for example,may be a data item rather than an instruction and can be interpreted bythe soft-processor to make a decision or branch a particular way in theexecutable program code executed by the soft-processor based upon thevalue of the data that is written. This value may be changed duringruntime by processor 206 as opposed to only being changed and/or updatedby the soft-processor itself.

In another example, processor 206 is capable of performingpost-bitstream configuration of the overlay circuit by loading differentdata into one or more configuration registers of the overlay circuit.

In another example, processor 206 is capable of performingpost-bitstream configuration of the overlay circuit by writing data toone or more selected look-up table circuit blocks available inprogrammable circuitry 204 and used to implement the overlay circuit.Selected look-up table circuit blocks (e.g., CFGLUT5 primitives)available in programmable circuitry 204 include RAM that may be readand/or written with data during operation of SOC 200 without performingreconfiguration of programmable circuitry 204. A new bitstream, orpartial bitstream, need not be loaded into SOC 200 to change thecontents of such RAMs of these look-up table circuit block(s).

As such, the functionality of the look-up table circuit blocks can bechanged dynamically during runtime by writing to the RAM of the look-uptable circuit blocks. The RAM portion of such a look-up table circuitblock controls the Boolean function that is implemented by the circuitblock. Processor 206 is capable of writing bits to the RAM thatspecifies the Karnaugh Map that controls the Boolean function that thelook-up table circuit block performs.

In another example, processor 206 is capable of performingpost-bitstream configuration of the overlay circuit by loading new datainto one or more block RAM circuit blocks in programmable circuitry 204that are used in implementing the overlay circuit.

In another example, processor 206 is capable of performingpost-bitstream configuration of the overlay circuit by loading a newand/or different bitstream or a partial bitstream. For example, theoverlay circuit may be modified by loading a different bitstream thatimplements a new or different overlay circuit. The bitstream, forexample, may implement a different version of the overlay circuitpreviously implemented in programmable circuitry 204.

In another example, processor 206 is capable of initiating and/orperforming partial reconfiguration to change a portion of the overlaycircuit. Partial reconfiguration is a process where a region ofprogrammable circuitry 204, e.g., of an overlay circuit, is dynamicallyreconfigured by loading a partial bitstream into the configurationmemory cells. The partial bitstream, for example, may specify differentcircuitry and/or a different system than previously implemented in theregion. The region may undergo modification through partialreconfiguration while other regions of the overlay circuit implementedwithin programmable circuitry 204 continue to operate withoutinterruption. As such, a portion of the overlay circuit, e.g., theregion that is undergoing partial reconfiguration, is modified and/orchanged through partial reconfiguration while those portions of theoverlay circuit not in the designated region are capable of continuedand uninterrupted operation.

In another example, processor 206 is capable of performingpost-bitstream configuration of the overlay circuit by modifying thebehavior of one or more interfaces of the overlay circuit. For example,in some overlay circuits, multiplexers and/or a switch matrix may beused to couple I/O pins with different internal nodes or I/O pins of theoverlay circuit and/or I/O pins of SOC 200. Some overlay circuitsinclude a SERDES circuit. Processor 206 is capable of modifyingoperation of the overlay circuit by providing different control signalsto the multiplexer, switch matrix, and/or SERDES as the case may be todynamically change operation of such circuit blocks and/or interfacesduring operation of the overlay circuit, e.g., at runtime.

It should be appreciated that the various ways described herein forperforming post-bitstream configuration further may be performed in avariety of different scenarios. In one example, any programs and/or dataused for post-bitstream configuration may be generated a priori, e.g.,at compile time. In another example, any programs and/or data used forpost-bitstream configuration may be generated at deployment time withinproductivity platform 100, e.g., dynamically. In another example, anyprograms and/or data used for post-bitstream configuration may begenerated elsewhere, e.g., by another system remote from productivityplatform 100, and delivered to productivity platform 100 duringdeployment and/or runtime. For example, productivity platform 100 iscapable of receiving pre-compiled programs and/or data from the remotedata processing system. The remote data processing system may generatethe pre-compiled program(s) and/or data or obtain the pre-compiledprogram(s) and/or data from another system.

Productivity platform 100 is capable of being used in a variety ofdifferent applications. As an illustrative and non-limiting example,productivity platform 100 can be used for embedded data analytics.Server-based IDE 306 is capable of handling rich multimedia content forlive monitoring applications that have large data requirements.Productivity platform 100 is capable of performing real-time datacapture using an overlay circuit implemented in programmable circuitry204, while networking and visualization can be performed concurrently byprocessor 206 executing operating system 302 and server-based IDE 306.

As another illustrative and non-limiting example, productivity platform100 can be used for electronic design automation-style hardware debugand/or for monitoring by the target itself. Conventional hardwaremonitoring entails using a host-target interaction where the host isused to create visualizations. Productivity platform 100 is capable ofusing an overlay that is configured for debug, e.g., tracing hardwaresignals and/or monitoring selected signals, and providing analysisand/or visualizations of the collected trace data using processor 206executing server-based IDE 306. Productivity platform 100 is capable ofproviding this functionality without interacting with a host dataprocessing system or relying on such a system for performing analysisand/or generating the visualizations.

As another illustrative and non-limiting example, productivity platform100 can be used to provide a microcontroller (e.g., one or moresoft-processors) and microcomputer (e.g., PS 202) on a single chip. Anoverlay implemented in SOC 200, for example, is capable of implementinga first soft-processor for a first specialized task (e.g., videoprocessing) and a second soft-processor (or more) for a secondspecialized task (e.g., managing a motor controller in a roboticsapplication).

FIG. 5 illustrates an example method 500 of implementing ormanufacturing a productivity platform 100. In block 505, programmablecircuitry is provided within an IC. The IC may be an SOC. Theprogrammable circuitry is capable of implementing, e.g., is configuredto implement, circuit designs such as overlays. The overlay, onceimplemented, is capable of performing one or more hardware operations.

In block 510, a processor is provided within the IC. In particularembodiments, the processor is hardwired. The processor is coupled to theprogrammable circuitry. The processor is capable of executing aframework. The framework can include a variety of different types ofsoftware as described herein including, for example, an HPL APIimplemented for controlling operation of the programmable circuitryand/or the hardware operations available from an overlay.

In block 515, a bulk memory is provided. The bulk memory is coupled tothe IC. For example, the bulk memory can be coupled to a circuit boardto which the IC is also coupled. The bulk memory is capable of storingan operating system and a framework as described herein.

In block 520, a local memory is provided. The local memory can becoupled to the circuit board to which the IC is coupled. The localmemory can serve as runtime memory, e.g., program execution memory, forthe processor.

In block 525, a circuit board is provided. The integrated circuit andthe memories can be coupled to the circuit board. In block 530, one ormore I/O interfaces are provided on the circuit board. The integratedcircuit is coupled to the memories. Further the integrated circuit iscoupled to the I/O interfaces.

FIG. 6 illustrates an example implementation of SOC 200 including probecapabilities. The probe capabilities described within this disclosurefacilitate hardware level introspection. SOC 200, for example, iscapable of inspecting its own state of execution within programmablecircuitry 204 at a particular time, periodically, and/or continuously,and exploit that state to perform operations in response thereto. In thecontext of programmable circuitry 204, typically probe capabilities areincluded in a circuit for debugging purposes and, after debugging, areremoved. An external or separate data processing system is used toanalyze the trace data that is collected.

Rather than include probe capabilities within a circuit design only forpurposes of debugging, probe capabilities can be included in an overlayand remain in the overlay to introspect the hardware. Processor 206, forexample, is capable of examining properties of the hardware, e.g.,circuitry implemented in the programmable circuitry, at runtime. Sinceprocessor 206 is capable of configuring programmable circuitry 204,controlling programmable circuitry 204, and analyzing trace datagenerated by the trace buffer circuitry implemented in programmablecircuitry 204, processor 206 is capable of making decisions based uponthe trace data at runtime, e.g., in real-time.

As an illustrative and non-limiting example, processor 206 is capable ofanalyzing trace data obtained from an interface (e.g., an I/O interface)of an overlay circuit. Processor 206 is capable of determining theparticular protocol of the trace data and, in response to identifyingthe protocol used within the trace data, deploy a different overlay orperform post-bitstream configuration of the overlay circuit alreadyimplemented to correctly handle the signals of the interface based onthe detected protocol.

In the example of FIG. 6, SOC 200 has an overlay implemented therein.The overlay includes an API that can be executed by processor 206 of PS202. The overlay, when loaded into configuration memory cells of SOC200, implements the overlay circuit shown in programmable circuitry 204.In the example of FIG. 6, the overlay circuit includes a circuit blocklabeled application 605 and a trace buffer 610.

Application 605 can be any of a variety of circuits. Application 605,for example, may be a controller, an audio processor, a video processor,or other specialized circuit. For purposes of discussion, application605 illustrates a circuit block or blocks representing the corefunctionality of the overlay. For example, if the overlay is a videoprocessor, application 605 represents the circuitry that performs imageprocessing of the overlay while trace buffer 610 performs the probingfunctions. In the case where the overlay is a drone-control overlay,application 605 represents the one or more circuit blocks that providedrone control functions such as motor control circuits.

Trace buffer 610 implements the probe capability. In the example of FIG.6, trace buffer 610 includes an optional analog-to-digital converter(ADC), an optional switch 615, a trigger circuit 620, afirst-in-first-out (FIFO) memory 625, and a DMA circuit 630. DMA circuit630 is capable of interacting with a memory controller (not shown)located in PS 202 for reading and/or writing to memory 105.

In the example of FIG. 6, processor 206 is capable of controlling theoverlay including application 605 and trace buffer 610. As pictured,processor 206 is coupled to application 605. Processor 206 is capable ofstarting and stopping operation of application 605. Processor 206further is capable of providing data to application 605 for processingand receiving results from application 605. Processor 206 is coupled toswitch 615, to trigger circuit 620, and to DMA circuit 630. As such,processor 206 is capable of controlling operation of switch 615, triggercircuit 620, and DMA circuit 630.

In one or more embodiments, processor 206 is coupled to ADC 640 (notshown). Accordingly, processor 206 is capable of controlling operationof ADC 640. For example, processor 206 is capable of changing thesampling rate of ADC 640 and/or the number resolution of samplesgenerated by ADC 640 (e.g., the number of bits of each sample).

In the example of FIG. 6, one or more signals are routed fromapplication 605 to switch 615 and/or to ADC 640. For example, analogsignals can be routed to ADC 640, while digital signals can be routed toswitch 615. Switch 615 is capable of receiving a first set of signalsfrom application 605 and/or any digitized signals passed from ADC 640.Switch 615 is capable of passing a selected subset of signals to triggercircuit 620. In one or more embodiments, the particular subset ofsignals passed to trigger circuit 620 by switch 615 is determined byprocessor 206. Inclusion of switch 615 allows a larger number of signalsof application 605 to be coupled to trace buffer 610 that can be probed.For example, trace buffer 610 may only be able to actively monitor alimited number of signals, e.g., 64 signals. More than 64 signals may berouted from application 602 to switch 615. Switch 615, which may beimplemented as a multiplexer, can be controlled, during operation, bycontrol signals provided from processor 206 to determine or select whichones of the signals are to be passed to trigger circuit 620. In thismanner, an application executed by processor 206 is capable of choosingwhich ones of the signals of application 605 are monitored by tracebuffer 610 and under what conditions. Processor 206 is capable ofinstructing switch 615 as to which signals to pass at runtime, e.g., inreal-time, to dynamically change the particular signals that are probedor evaluated at any given time.

Trigger circuit 620 is capable of monitoring the signals passed byswitch 615 to detect particular conditions. In particular embodiments,processor 206 is capable of controlling trigger circuit 620. Forexample, processor 206 is capable of arming (e.g., starting) anddisarming (e.g., stopping) operation of trigger circuit 620. In thisregard, processor 206 is capable of specifying the particular conditionsmonitored for by trigger circuit 620 to store sampled signals in FIFOmemory 625. In particular embodiments, trigger circuit 620 is capable ofcontinually storing sampled signals in FIFO 625 as opposed to storingsampled signals only in response to detecting particular conditions.

In one or more embodiments, processor 206 is capable of specifying theconditions monitored for through one of the post-bitstream configurationprocesses described herein. Processor 206, for example, is capable ofproviding instructions to trigger circuit 620 specifying the conditionsto be detected in order to store sample signals. As such, the conditionsused by trigger circuit 620 can be changed and/or updated by processor206 during runtime, e.g., in real-time.

DMA circuit 630 reads the sampled signal(s) from FIFO memory 625 andwrites the sampled signals to memory 105 as trace data 635. Once armedand operating, trigger circuit 620 is capable of storing samples of thesignal or signals within FIFO memory 625. FIFO memory 625 is capable ofperforming write mismatch resolution. On the input side of FIFO memory625 at trigger circuit 620, signals are sampled at a high rate. Forexample, signals may be sampled at approximately 100 MHz continuously.At the back end of FIFO 625 at DMA circuit 630, DMA circuit 630 readsdata from FIFO memory 625 and writes the data to memory 105, e.g., DRAM.DMA circuit 630 is capable of accessing a port on memory controller 210described in connection with FIG. 2. Since other circuits are capable ofaccessing memory 105 via memory controller 210, there may be contentionfor writing data to memory 105. FIFO memory 625 alleviates backpressurein the event that sampled signals must be temporarily stored until DMAcircuit 630 is able to continue writing data to memory 105.

In one or more embodiments, processor 206 is capable of controllingoperation of DMA circuit 630. Processor 206, for example, is capable ofinstructing DMA circuit 630 to begin writing data to memory 105 and/orstop writing data to memory 105. Further, processor 206 is capable ofspecifying the particular addresses of memory 105 to which trace data635 is written. In one or more embodiments, processor 206 is capable ofdynamically allocating space in memory 105 for storing trace data 635.Processor 206 is capable of informing or instructing DMA circuit 630 ofthe allocated address range to be used in memory 105 for storing tracedata. Processor 206 is capable of reading and processing trace data 635from memory 105. Inclusion of FIFO memory 625 facilitates increasedthroughput to memory 105.

In moving data from programmable circuitry 204 to PS 202, the data movesfrom a physical memory space (in programmable circuitry 204) to a memorymanagement unit (MMU) managed virtual memory space. Memory that isaddressable by PS 202 is a virtual memory address and an MMU (not shown)handles the virtual page tables. In programmable circuitry 204, there isno MMU. Memory addresses in programmable circuitry 204 are physicalmemory addresses. In one or more embodiments, DMA circuit 630 is capableof performing memory domain crossing by translating between virtualmemory addressing and physical memory addressing.

In one or more embodiments, when allocating space within memory 105,processor 206 is capable of executing a utility that is capable ofreserving a portion of contiguous memory in memory 105. The reservedportion is removed from the virtual memory and no longer managed by theMMU. Once reserved, the portion of memory becomes addressable physicalmemory. In particular embodiments, processor 206 receives a pointer tothe portion of memory and provides the pointer to DMA circuit 630. DMAcircuit 630 accesses memory 105 via the port of memory controller 210using the memory address received from processor 206. Once finishedwriting data, DMA circuit 630 is capable of informing processor 206 thatdata is ready and may be read.

Processor 206 is capable of analyzing trace data 635. In one or moreembodiments, trace data 635 is stored in the portion of memory 105 thatis allocated for trace buffer 610. The portion of memory may be thereserved portion of memory that is no longer managed by the MMU, atleast until the portion of memory is re-allocated or de-allocated byprocessor 206. Processor 206, for example, is capable of executing aprogram specified in an HPL as discussed. The program may specify theparticular analysis of trace data 635 to be performed by processor 206.Accordingly, processor 206 is capable of performing any of a variety ofdifferent actions in response to detecting predetermined conditionswithin trace data 635.

In one or more embodiments, processor 206 is capable of performingpost-bitstream configuration on the overlay circuit implemented inprogrammable circuitry 204 in response to detecting a particularcondition in trace data 635. In one or more embodiments, processor 206is capable of controlling switch 615 to pass different ones of theprobed signals to trigger circuit 620 in response to detecting aparticular condition from trace data 635. In one or more embodiments,processor 206 is capable of implementing a completely new overlay withan SOC 200 and, as such, a new overlay circuit within programmablecircuitry 204. In one or more embodiments, processor 206 is capable ofproviding a visualization of trace data 635 to data processing system120, e.g., to browser 125.

FIG. 7 illustrates another example implementation of SOC 200 includingprobe capabilities. In the example of FIG. 7, signals from a region 705of interest in application 605 are probed. The signals from region 705are passed by switch 615 to trigger circuit 620.

In one or more embodiments, region 705 is an I/O interface of theoverlay circuit and of application 605. Accordingly, signals from theI/O interface are processed by trace buffer 610. Sampled signals arestored in memory 105 as trace data 635. Processor 206 is capable ofanalyzing trace data 635. As an illustrative and non-limiting example,processor 206 is capable of analyzing trace data 635 and determining atype of interface implemented by region 705 (e.g., where region 705implements an I/O interface). Processor 206, for example, is capable ofdetermining whether the I/O interface is an I²C interface or an SPIinterface based upon an analysis of trace data 635.

In one or more embodiments, region 705 is a dynamically reconfigurableregion that may be changed as part of performing partialreconfiguration. Accordingly, the signals that are probed includesignals of the interface between region 705 and other portions ofapplication 605 that are static, e.g., not dynamically reconfigurable.

In general, since the overlays are precompiled, the regions of interest,e.g., the signals of interest, are generally known and are preconfiguredfor probing by routing such signals (e.g., copies thereof) to tracebuffer 610. As an illustrative and non-limiting example, processor 206is capable of managing the reconfiguration control schedule for region705 based upon signals probed by trace buffer 610. Processor 206, forexample, is capable of dynamically reconfiguring region 705 to implementdifferent circuitry therein in response to detecting one or moredifferent conditions from trace data 635 during runtime. In this manner,processor 206 is capable of not only performing debugging functions liveas programmable circuitry 204 operates, but is also capable of modifyingoperation of programmable circuitry 204, modifying overlays implementedin programmable circuitry 204, or implementing entirely differentcircuits within programmable circuitry 204 based upon an analysis oftrace data 635 and detection of one or more conditions therein. Asnoted, processor 206 is capable of executing a library or librariesrelating to analysis of trace data and controlling trace buffer 610.

Trace buffer 610 is capable of monitoring signals that are internal tothe overlay implemented in programmable circuitry 204 and/or signalsthat may be received by an I/O interface of the overlay circuit from asource external to SOC 200. Further, since the overlay circuitimplemented in programmable circuitry 204 has an associated HPL API,processor 206 is capable of accessing the functionality of trace buffer610 by way of that HPL API. In one or more embodiments, the armingsoftware for trace buffer 610 and/or the buffer management software maybe integrated into existing debugging technologies such as the GNUProject Debugger (GDB) or Python's debugging module PDB that may beincluded in framework 304 and, as such, executed by processor 206. Thevarious features described herein in connection with processor 206 forcontrolling operation of trace buffer 610 are facilitated through theHPL API of the overlay and may be used as part of a re-usable librarywith other software programming libraries.

FIG. 8 illustrates an example method 800 of probing signals. Method 800can be implemented by an SOC as described herein with reference to FIGS.1-7. Method 800 can begin in a state where an overlay is implementedwithin SOC 200. Accordingly, an overlay circuit is implemented withinprogrammable circuitry 204 with probe capabilities included therein asgenerally described with reference to FIGS. 6 and/or 7. The operationsdescribed in connection with FIG. 8 are performed entirely within SOC200. A separate or external data processing system is not required.

In block 805, processor 206 is capable of setting a breakpoint. Forexample, as part of executing server-based IDE 306, processor 206 iscapable of setting a breakpoint within an application that is beingdeveloped therein. The application, as noted, can be implemented in anHPL.

In block 810, processor 206 is capable of dynamically allocating spacewithin memory 105 for use by trace buffer 610. The space within memory105, being a runtime memory of processor 206, is runtime allocatable totrace buffer 610. In this regard, the memory allocated to trace buffer610 is not dedicated solely for debugging and/or introspection.Processor 206 is capable of re-allocating the portion of memory 105 thatis allocated to trace buffer 610 for other tasks in response to acondition such as discontinuing tracing during runtime, e.g., inreal-time.

By allocating an address range from memory 105 for storing trace data,trace buffer 610 requires a small amount of memory for purposes ofbuffering. In particular embodiments, trace buffer 610 utilizes only asmall portion of random access memory blocks (BRAM) to implement FIFOmemory 625. In conventional systems that perform probing and datacollection, a large amount of memory on the chip, e.g., withinprogrammable circuitry 204, is reserved for storing trace data 635. Onceallocated for this purpose, the memory resources may only be utilizedfor this purpose until programmable circuitry 204 is reconfigured byloading a new bitstream. Thus, the ability to allocate memory at runtimefor purposes of storing trace data saves a significant amount ofresources that may be used for other purposes.

In block 815, processor 206 enables DMA circuit 630 to store trace dataat specified addresses in memory 105. For example, as part of enablingDMA circuit 630, processor 206 is capable of notifying DMA circuit 630of the address and/or address range in memory 105 that has beenallocated for storing trace data therein.

In block 820, processor 206 enables trigger circuit 620. In block 825,processor 206 begins executing the application with the breakpointincluded therein. In block 830, processor 206 encounters the breakpointin executing the application. In block 835, in response to encounteringthe breakpoint, trigger circuit 620 starts operation. Processor 206, forexample, in response to encountering the breakpoint, starts triggercircuit 620. Accordingly, trigger circuit 620 begins checking probedsignals received therein for one or more predetermined conditions.

In one or more embodiments, trigger circuit 620 is capable of storingsamples in FIFO memory 625 only after being started and in response todetecting particular conditions (e.g., signal values and/or signal valuecombinations) in the signals being probed. In particular embodiments,trigger circuit 620 is capable of continuously storing trace data oncestarted without first detecting a particular condition in the signalsbeing probed. Trigger circuit 620 stores sampled signals, e.g., tracedata 635, in FIFO memory 625 and DMA circuit 630 moves sampled signalsfrom FIFO memory 625 to memory 105 as trace data 635.

In one or more embodiments, trace buffer 610 can be armed synchronouslywith the starting of other circuits in programmable circuitry 204. As anillustrative and non-limiting example, trigger circuit 620 is capable ofreceiving one or more signals to be evaluated from a first circuit blockof the overlay. Trigger circuit 620 is capable of analyzing the signalsto detect a trigger condition. In response to detecting a triggercondition from the signals received from the first circuit block of theoverlay, trigger circuit 620 is capable of sampling signals receivedfrom a second and different circuit block of the overlay.

In one or more embodiments, trace data 635 is compressed. For example,processor 206 is capable of compressing trace data 635 when written tomemory 105. In another example, trigger circuit 620 may be configured tocompress trace data 635 that is generated in response to detectedconditions.

In particular embodiments, trace data 635 is stored in a data structurein memory 105 that supports timeline integration with software tools(e.g., debuggers and/or profilers) or hardware tools that providevisualizations such as waveform views and protocol decoders. As anillustrative and non-limiting example, trace data 635 may be processedby processor 206 and written in the JSON (JavaScript Object Notation)format or as a JSON file.

In block 840, processor 206 is capable of optionally generating avisualization of trace data 635 stored in memory 105. In executingserver-based IDE 306, for example, processor 206 is capable of providingthe visualization to a client system such as data processing system 120executing a browser 125 therein. Accordingly, browser 125 is capable ofdisplaying the visualization upon display 130.

In block 845, processor 206 optionally controls programmable circuitry204 in response to analyzing trace data 635. For example, processor 206is capable of analyzing trace data 635 in memory 105 and detecting oneor more conditions therein. Example of conditions in the trace datainclude, but are not limited to, a particular pattern or sequence ofvalues, particular signals having particular values at a given time orin a timing sequence (e.g., in one or more sequential samples), or acombination thereof. Processor 206 is capable of controllingprogrammable circuitry 204 and any of the various ways described herein.For example, processor 206 is capable of implementing a new overlay orimplementing post-bitstream configuration of the currently implementedoverlay circuit.

In particular embodiments, measurement sequences can be scripted withinprocessor 206. For example, measurement sequences performed by tracebuffer 610 can be scripted within processor 206, checked againstexpected values, and perform further iterations based upon theintermediate results obtained.

In one or more embodiments, processor 206 is capable of processing tracedata 635 and writing trace data 635 to memory, e.g., memory 105, in adifferent form. In an illustrative and non-limiting example, processor206 is capable of writing trace data using JSON format or as a JSONfile. Example 1 illustrates trace data 635, as generated by trace buffer610 after JSON formatting performed by processor 206.

Example 1

import wavedrom mem_if = {“signal”: [    {“name”: ‘s_clk’, “wave”:‘P.........’},    [‘output’,    {“name”: ‘valid’, “wave”:‘0....1.....’},    {“name”: ‘busy’, “wave”: ‘10....10.....’},   {“name”: ‘ “data” ’, “wave”: ‘x....33.333’, “data”:[‘D0’, ‘D1’,   ‘D2’, ‘D3’, ‘D4’, ‘D5’, ‘D6’, ‘D7’, ‘D8’, ‘D9’]},    {“name”:‘rdcnt’, “wave”: ‘4.44444.444’, “data”:[‘0’, ‘1’, ‘2’,    ‘3’, ‘4’,‘D3’, ‘D4’, ‘D5’, ‘10’]},    ],{ },    [‘sram’,    {“name”: ‘cs0’,“wave”: ‘0, 1....01..’},    {“name”: ‘we0’, “wave”: ‘1............’},   {“name”: ‘addr0’, “wave”: ‘5..55555.55’, “data”: [‘0’, ‘1’, ‘2’,   ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’]},    {“name”: ‘dout’, “wave”:‘x...33333.3’, “data”: [‘D0’, ‘D1’,    ‘D2’, ‘D3’, ‘D4’, ‘D5’, ‘D6’,‘D7’]},    ], ],     “config” : {“hscale”: 2},     “head” : {“text” :‘Memory Interface Waveform’, “tick”: 0,    },     “foot” : {“text”:‘Modified from original: <<URL for TxRx- Wavedrom at github’, “tick”: 0   ], }

FIG. 9 illustrates an example visualization 900 that is generated byprocessor 206 of SOC 200. Visualization 900 is generated by processor206 in executing server-based IDE 306. In the example of FIG. 9,visualization 900 is a waveform view. Processor 206 is capable ofgenerating any of a variety of different visualization types. As such,use of a waveform view as an example is not intended to be limiting.Processor 206, for example, is capable of processing trace data 635. Inthe example of FIG. 9, visualization 900 is generated from the JSONformatted trace data of Example 1. As discussed, visualization 900 canbe provided by processor 206 to an external system such as dataprocessing system 120 for viewing using browser 125. JSON files, forexample, are natively executable using browser 125. In one or moreembodiments, processor 206 is capable of including or displaying avisualization such as visualization 900 within a Jupyter notebookexecuting on processor 206.

In the example of FIG. 9, because the overlays are pre-configured,signal names are known a priori. In particular embodiments, the metadataof an overlay, for example, can describe pin locations and signals ofthe overlay and provide names or labels for the signals and/or pinlocations of the overlay that are probed. Accordingly, in generatingvisualization 900, processor 206 is capable of automatically labellingsignals within the JSON formatted trace data of Example 1 based upon themetadata of the overlay and further labelling the signals shown invisualization 900. As such, one need not manually create labels for awaveform view or other visualization generated using the probingfunctionality described herein.

FIG. 10 is an example of a slave processor 1000. In one or moreembodiments, slave processor 1000 is implemented entirely withinprogrammable circuitry 204 of SOC 200. Further, slave processor 1100 iscapable of operating entirely under control of processor 206. In theexample of FIG. 10, slave processor 1000 includes a soft-processor 1005.Slave processor 1000 has a dual port design. The dual port design usesseparate memories for data and instructions. In support of the dual portdesign, slave processor 1000 includes an instruction memory 1015 and adata memory 1020. In particular embodiments, instruction memory 1015 anddata memory 1020 are implemented using BRAMs of the programmablecircuitry 204. Further, slave processor 1000 can include an optionalreset circuit 1010.

In one or more embodiments, slave processor 1000 is coupled to processor206 via one or more control signals 1025 and an interface 1030. Inparticular embodiments, control signals 1025 are conveyed from processor206 as a GPIO interface. In particular embodiments, interface 1030 isimplemented as an AXI interface. Slave processor 1000 further caninclude an interface 1035 that is capable of coupling soft-processor1005 to other circuitry implemented in programmable circuitry 204. Inparticular embodiments, interface 1035 is implemented as an AXIinterface. Through interface 1035, slave processor 1000 appears as amaster to other circuits connected to slave processor 1000.

Processor 206 is capable of providing, e.g., writing, instructions toinstruction memory 1015 via interface 1030. In particular embodiments,instructions written to instruction memory 1015 can include read-onlydata such as tables or other suitable data. Processor 206 is capable ofproviding, e.g., writing, data to data memory 1020 via interface 1030.Soft-processor 1005 is capable of accessing or reading instructions frominstruction memory 1015 and data from data memory 1020. Soft-processor1005 is capable of executing the instructions retrieved from instructionmemory 1015 and operating on data retrieved from data memory 1020.Soft-processor 1005 is capable of writing results to data memory 1020from execution. As such, processor 206 is also capable of reading data,e.g., results, from data memory 1020.

In one or more embodiments, soft-processor 1005 includes an interruptport that can be coupled to circuitry implemented in programmablecircuitry 204. Circuitry implemented in programmable circuitry 204 iscapable of exercising the interrupt port of soft-processor 1005.

In one or more embodiments, slave processor 1000 is implemented as anoverlay or as part of an overlay. Accordingly, an HPL API for theoverlay circuit that implements slave processor 1000 is available toprocessor 206 for use and inclusion in an application. Using the HPLAPI, processor 206 is capable of controlling operation of slaveprocessor 1000. Processor 206, in executing framework 304, is capable ofcontrolling slave processor 1000.

As noted, reset circuit 1010 is optionally included in slave processor1000. Reset circuit 1010 is capable of receiving one or more signals andexercising the reset function of soft-processor 1005 in response todetecting a particular condition or conditions on the signals received.In one or more embodiments, reset circuit 1010 is capable of generatinga non-maskable interrupt (NMI). The NMI may be a state control that ishandled by soft-processor 1005. For example, reset circuit 1010 iscapable of restarting soft-processor 1005 to restart executing sameinstructions (e.g., program code) from instruction memory, resettingsoft-processor 1005, holding soft-processor 1005 in reset, or providingother interrupts that are handled differently by soft-processor 1005based upon the type of interrupt received. In one or more embodiments,processor 206 is coupled directly to an interrupt port of soft-processor1005 (e.g., where reset circuit 1010 is not included in slave processor1000).

Using control signals 1025 and interface 1030, processor 206 is capableof controlling operation of slave processor 1000. Processor 206 iscapable of behaving as a master to slave processor 1000. As anillustrative and non-limiting example, processor 206 is capable ofstarting, stopping, and resetting slave processor 1000 at any time.Processor 206 is capable of determining the program code to be executedby soft-processor 1005 and loading such program code into instructionmemory 1015 during runtime, e.g., in real-time, as applied to processor206. Processor 206 further is capable of proving any data to be operatedupon by soft-processor 1005 and loading such data into data memory 1020during runtime, e.g., in real-time, as applied to both processor 206 andsoft-processor 1005.

As such, processor 206 is capable of performing runtime customization ofslave processor 1000. Processor 206 can allow slave processor 1000 tooperate. At some point, processor 206 is capable of halting operation ofslave processor 1000, e.g., via reset circuit 1010, loading different ornew instructions into instruction memory 1015 and/or different or newdata into data memory 1020. Processor 206 is capable of resetting and/orrestarting (e.g., releasing soft-processor from the halt) operation ofsoft-processor 1005 to begin executing the new instructions and/or tobegin processing the new data. In particular embodiments, processor 206is capable of writing to data memory 1020 without halting operation ofsoft-processor 1005. Processor 206, in acting as the master, is capableof exchanging instructions and/or data with soft-processor 1005 viainstruction memory 1015 and data memory 1020.

In one or more embodiments, data memory 1020 includes a region orportion of memory that is reserved for use by processor 206. The region,e.g., a command mailbox, can be written by processor 206 and isread-only for soft-processor 1005. The region is reserved for receivingcommand(s) from processor 206. This allows processor 206 to issuecommands to soft-processor 1005 without having to halt operation ofsoft-processor 1005. In general, processor 206 is capable of causingsoft-processor 1005 to behave differently by writing one or morecommands to the command mailbox within data memory 1020.

As an illustrative and non-limiting example, soft-processor 1005 may beconfigured to process data such as data obtained from a temperaturesensor. In an aspect, a memory address or addresses within the commandmailbox of instruction memory 1015 can be reserved for receiving acommand from processor 206 that dictates whether soft-processor 1005returns results formatted in Celsius, in Fahrenheit, or both. Thus,processor 206 is capable of writing a command to the address oraddresses within the command mailbox to control operation ofsoft-processor 1005 during runtime of soft-processor 1005, e.g., withoutfirst halting operation of soft-processor 1005. In another example,processor 206 can write read-only data, e.g., a data table, within thecommand mailbox. Soft-processor 1005, for example, can then read andutilize the data written therein.

In one or more embodiments, processor 206 is capable of executing an HPLlibrary (e.g., a library accessed via the HPL API for the overlaycircuit implementing slave processor 1000). The library providesstandardized interfaces to one or more instances of slave processor 1000that may be implemented within programmable circuitry 204 as an overlaycircuit.

The instructions provided from processor 206 to instruction memory 1015can originate from one or more different sources. In particularembodiments, processor 206 is capable of providing precompiled binariesto instruction memory 1015. The precompiled binaries may be provided toprocessor 206 at boot time (of processor 206). For example, one or moreprecompiled binaries may be included within framework 304. In an aspect,the precompiled binary of a given slave processor is stored in theoverlay for the slave processor, e.g., as part of the bitstream. Inanother aspect, one or more precompiled binaries for the overlay can bepart of the overlay software for the overlay and can be specifiedseparately from the overlay.

In particular embodiments, processor 206 is capable of cross-compilingsource code at runtime using one or more of compilers 310 and providingthe resulting binary to instruction memory 1015 at runtime of processor206 and of slave processor 1000. In particular embodiments, processor206 is capable of linking one or more precompiled modules at runtime ofprocessor 206 and providing the resulting linked modules to instructionmemory 1015 at runtime of slave processor 1000. In one or more otherembodiments, processor 206 is capable of receiving precompiled binaries,source code, and/or combinations thereof from a remote system,processing the received instructions, and providing the resultinginstructions, e.g., as a binary, to instruction memory 1015.

In one or more embodiments, slave processor 1000 is capable ofgenerating or raising an interrupt on processor 206. In particularembodiments, soft-processor 1005 is capable of raising an interrupt onprocessor 206 via interface 1030 (not shown). In particular embodiments,soft-processor 1005 may be implemented with a direct connection tointerrupt port of processor 206 to raise an interrupt on processor 206.In one or more embodiments, the interrupt mechanisms used by slaveprocessor 1000 and processor 206 are integrated within an asynchronousevent loop implemented in an HPL executed by processor 206 to supporthigh-level nonblocking I/O.

In particular embodiments, slave processor 1000 is granted read andwrite access to a reserved area of on-chip memory or external memory,e.g., memory 105, in an address map of processor 206. Using such aconfiguration, processor 206 is capable of exchanging data with one ormore different slave processors 1000 without direct involvement ofprocessor 206. For example, processor 206 is able to write data to anarea of memory corresponding to a particular slave processor 1000.Responsive to a signal from processor 206 indicating that data and/orinstructions are ready, slave processor 1000 is capable of retrievingthe instructions and/or data from the reserved area of memory.

As an illustrative and non-limiting example, slave processor 1000 can beconfigured to take a measurement periodically, e.g., every 10milliseconds. In response to each measurement, slave processor 1000 iscapable of determining whether the measurement is within a predeterminedrange. Further, slave processor 1000 is capable of logging the last “N”measurements, e.g., in data memory 1020. In this example, “N” is apredetermined integer value.

Slave processor 1000 is capable of evaluating the measurements. Inresponse to determining that one or more measurements are out of range,slave processor 1000 is capable of taking an action. In one example,slave processor 1000 is capable of applying a function to the collectedmeasurements such as taking a derivative of the measurements or the last“M” measurements, e.g., where “M” is an integer value and may be lessthan “N.” If the derivative, or other calculation, is within thepredetermined range, slave processor 1000 continues operating. If thevalue that is calculated is out of the predetermined range, slaveprocessor 1000 is capable of raising an interrupt on processor 206. Inthis example, slave processor 1000 handles the processing and relievesprocessor 206 from overseeing the collection and evaluation ofmeasurements until such time that an out of range condition is detected.Moreover, since processor 206 is executing operating system 302, e.g., aLinux operating system or other modern operating system, processor 206may not be suitable for monitoring a real-time process as is the casewith slave processor 1000 and, more particularly, soft-processor 1005.

FIG. 11 is an example implementation of SOC 200 with two processors eachoperating as a master processor and including multiple instances ofslave processor 1000. In the example of FIG. 11, SOC 200 includes afirst processor 206-1 and a second processor 206-2. Each of processors206 operates as a master processor and is coupled to slave processors1105, 1110, and 1115 via an interface 1120, e.g., a bus or aninterconnect. One or more peripherals such as switches 1125, pushbuttons1130, and LEDs 1135 (which may be coupled to productivity platform 100)may also be coupled to interface 1120. For ease of illustration,particular signals such as interrupts are not illustrated in FIG. 11.

In the example of FIG. 11, slave processor 1105 is coupled to a firstperipheral device. The first peripheral device is external to SOC 200and may be coupled via one or more I/O pins of SOC 200 through I/Ointerface 115. For purposes of illustration and not limitation, thefirst peripheral device coupled to slave processor 1105 has a PMODcompatible interface.

In the example of FIG. 11, slave processor 1110 is coupled to a secondperipheral device. The second peripheral device is external to SOC 200and may be coupled via one or more I/O pins of SOC 200 through I/Ointerface 115. For purposes of illustration and not limitation, thesecond peripheral device coupled to slave processor 1110 has a PMODcompatible interface.

In the example of FIG. 11, slave processor 1115 is coupled to a thirdperipheral device. The third peripheral device is external to SOC 200and may be coupled via one or more I/O pins of SOC 200 through I/Ointerface 115. For purposes of illustration and not limitation, thethird peripheral device coupled to slave processor 1115 has an Arduinocompatible interface.

Each of slave processors 1105, 1110, and 1115 is controlled by one orboth of processors 206. Each respective one of slave processors 1105,1110, and 1115 can be controlled by processor 206-1 and/or processor206-2 to control the internal data path, e.g., within programmablecircuitry 204, for the respective peripheral device to which the slaveprocessor is coupled. The hardware data path, for example, is capable ofbridging or connecting a peripheral to processor 206 and/or to othercircuits that may be implemented in programmable circuitry 204.

As an illustrative and non-limiting example, processor 206-1 is capableof programming slave processor 1105 with the correct I/O pinconfiguration to communicate with the peripheral device connectedthereto. The configuration of slave processor 1105, e.g., apost-bitstream configuration as performed by processor 206-1, can beperformed using the HPL API of the overlay including slave processors1105, 1110, and 115. In one or more embodiments, the particularoperations performed by processor 206-1 may be wrapped in the HPL.

Processor 206-1, for example, is capable of providing instructions toinstruction memory 1015 of slave processor 1105. In executing theinstructions, soft-processor 1005 of slave processor 1105 is capable ofcontrolling the functionality of I/O pins coupled to the firstperipheral device and/or repurposing such I/O pins to correctlycommunicate with the first peripheral device. Processor 206-1, forexample, is capable of providing different instructions to slaveprocessor 1105 for execution based upon the particular type ofperipheral to which slave processor 1105 is connected. With the correctinstructions, soft-processor 1005 is capable of correctly driving theinterface with the first peripheral device. Processor 206-1 and/orprocessor 206-2 is capable of controlling slave processors 1110 and 1115in the same or similar manner as described in connection with slaveprocessor 1105.

In the example of FIG. 11, each different instance 1105, 1110, and 1115of the slave processor can be customized by processor 206-1 and/orprocessor 206-2 to perform a particular task based upon the instructionsand/or data provided to instruction memory 1015 and/or data memory 1020.As an illustrative and non-limiting example, one peripheral may be adisplay, another peripheral may be an audio subsystem, etc., where eachslave processor is customized for the peripheral connected thereto.

The ability to perform post-bitstream configuration on a slave processormeans that programmable circuitry 204 need not be reconfigured whenchanging the functionality of slave processor 1000 (or of otheroverlays). As an illustrative example, a slave processor can bereprogrammed to control a different peripheral that may be plugged intoor connected to productivity platform 100. Without the ability toperform post-bitstream configuration, programmable circuitry 204 wouldneed to be reconfigured by loading a new and different overlay therein.The inclusion of RCEs within an overlay facilitates the customization ofthat overlay without resorting to reconfiguring programmable circuitry204 in each case whether wholly or through partial reconfiguration.

In the example of FIG. 11, each of soft processors 1005 is capable ofgenerating an interrupt signal that is provided to an interruptcontroller 1140. Interrupt controller 1140 is implemented inprogrammable circuitry 204. In one or more embodiments, interruptcontroller 1140 is part of an overlay circuit including one or moreslave processors such as slave processors 1105, 1110, and 1115.Interrupt controller 1140 is capable of providing an interrupt signal tointerrupt controller 1145 in response to interrupt signals received fromsoft-processors 1005. Interrupt controller 1145 is implemented in PS 202and, as such, is hardwired. Interrupt controller 1145 is coupled to aninterrupt port of processor 206 and is capable of generating aninterrupt on the interrupt port of processor 206 in response toreceiving an interrupt signal from interrupt controller 1140. In theexample of FIG. 11, interrupt controller 1145 is coupled to theinterrupt port of processor 206-1. In another embodiment, interruptcontroller 1145 is coupled to the interrupt port of each of processors206-1 and 206-2.

In one or more embodiments, interrupt controller 1140 and interruptcontroller 1145 can be implemented using an AXI interface as describedherein. As such, interrupt controller 1140 may be implemented as a softAXI interrupt controller and interrupt controller 1145 may beimplemented as a hard AXI interrupt controller. The example interfacetype provided is for purposes of illustration and not limitation. Otherinterfaces may be used in place of AXI without limitation.

The interrupt controller architecture described in connection with FIG.11 is an example of interrupt chaining. In particular embodiments, aninterrupt controller architecture as illustrated in FIG. 11 may be usedin cases where a single slave processor is implemented in programmablecircuitry 204. In particular embodiments, an interrupt architecture asillustrated in FIG. 11 can be used where more than one slave processorsare implemented in programmable circuitry 204. For example, theinterrupt controller architecture shown including interrupt controller1140 and interrupt controller 1145 can be incorporated into the examplesillustrated herein in connection with FIGS. 10, 12, 13, and/or 14. Theparticular number of slave processors included in the example of FIG. 11is not intended to be limiting. Fewer or more slave processors can beimplemented in programmable circuitry 204 and/or included in an overlay.

FIG. 12 illustrates another example implementation of slave processor1000. In the example of FIG. 12, slave processor 1000 is coupled to aswitch 1225. Interface 1035 is coupled to a plurality of differentcircuit blocks 1205, 1210, 1215, and 1220. Slave processor 1000, circuitblocks 1205-1220, and switch 1225 are implemented within programmablecircuitry 204. In one or more embodiments, slave processor 1000, circuitblocks 1205-1220, and switch 1225 are part of an overlay.

Each of circuit blocks 1205-1220 is capable of implementing a differentoperation or performing a different task. One or more of circuit blocks1205-1220, for example, is capable of communicating using a differentcommunication protocol. For purposes of illustration and not-limitation,circuit block 1205 is capable of implementing a GPIO interface, circuitblock 1210 is capable of implementing a I²C interface, circuit block1215 is capable of implementing an SPI interface, and circuit block 1220is capable of implementing a timer.

In the example of FIG. 12, switch 1225 is controlled by soft-processor1005. As discussed, slave processor 1000 is controlled by processor 206.Accordingly, switch 1225 is capable of coupling signals received on theright side (e.g., external signals received from a peripheral device) toone (or more) of circuit blocks 1205, 1210, or 1215 based upon thecontrol signals provided from soft-processor 1005. In this manner, slaveprocessor 1000 is capable of interfacing to any of a variety ofperipheral devices using any of a variety of different protocols bycoupling a selected circuit block (e.g., one or more of circuit blocks1205-1215) to I/O pins of SOC 200 using switch 1225.

In one or more embodiments, soft-processor 1005 is capable of changingthe particular circuit block 1205-1220 that is coupled to I/O pins ofSOC 200 via switch 1225 during runtime, e.g., in real-time. For example,soft-processor 1005 is capable of executing program code and changingthe particular circuit block(s) 1205-1220 connected to I/O pins of SOC200 based upon current operating conditions and decisions made inexecuting program code. As discussed, since processor 206 is capable ofcontrolling operation of soft-processor 1005, processor 206 is capableof controlling which of circuit blocks 1205-1220 is/are coupled to I/Opins through switch 1225 at least by virtue of providing differentinstructions to instruction memory 1015 and/or different data to datamemory 1020.

In the example of FIG. 12, switch 1225 is described as being connectedto I/O pins of SOC 200. In one or more other embodiments, switch 1225can be connected to any signals available within programmable circuitry204. For example, switch 1225 can be coupled to one or more signals ofanother circuit and/or system implemented within programmable circuitry204 (e.g., another circuit within an overlay), to one or more signals ofa partially reconfigurable region within programmable circuitry 204, toone or more I/O pins of SOC 200, or any combination thereof. Switch 1225provides increased flexibility for connecting slave processor 1000 toany of a variety of signals and/or circuits of SOC 200 and/or toperipherals thereof.

FIG. 13 illustrates another example implementation of slave processor1000. In the example of FIG. 13, slave processor 1000 is coupled to aswitch 1335. Interface 1035 is coupled to a plurality of differentcircuit blocks 1305, 1310, 1315, 1320, 1325, and 1330. Slave processor1000, circuit blocks 1305-1330, and switch 1325 are implemented withinprogrammable circuitry 204. In one or more embodiments, slave processor1000, circuit blocks 1305-1330, and switch 1325 are part of an overlay.

Each of circuit blocks 1305-1330 is capable of implementing a differentoperation or performing a different task. One or more of circuit blocks1305-1330, for example, is capable of communicating using a differentcommunication protocol. For purposes of illustration and not-limitation,circuit block 1305 is capable of implementing a two GPIO interfaces,circuit block 1310 is capable of implementing two I²C interfaces,circuit block 1315 is capable of implementing two SPI interfaces,circuit block 1320 is capable of implementing a plurality of differenttimers (e.g., 6 timers), circuit block 1325 is capable of implementing aUART, and circuit block 1330 is capable of implementing an ADC.

In the example of FIG. 13, switch 1335 is controlled by soft-processor1005. As discussed, slave processor 1000 is controlled by processor 206.Accordingly, switch 1335 is capable of coupling signals received on theright side (e.g., external signals received from a peripheral device) toone of circuit blocks 1305-1325 based upon the control signals providedfrom soft-processor 1005. In this manner, slave processor 1000 iscapable of interfacing to any of a variety of peripheral devices usingany of a variety of different protocols by coupling a selected circuitblock (e.g., of circuit blocks 1305-1325) to I/O pins of the SOC usingswitch 1335.

Referring to FIGS. 12 and 13, processor 206 is capable of executing anHPL application and deciding, at runtime, which of the blocks (e.g.,circuit blocks 1205-1220 or 1305-1325) to connect to which I/O pins onthe right side of the switch. In general, the example implementations ofFIGS. 12 and 13 provide flexibility to route signals from any of suchblocks to any I/O pin at runtime.

The various examples of providing instructions to slave processor 1000,providing data to slave processor 1000, and/or controlling switch 1225and/or 1325 are examples of post-bitstream configuration for an overlaythat includes a soft-processor. In another example, a peripheralconnected to switch 1225 and/or switch 1335 is capable of providing anidentifier that uniquely identifies the peripheral. In that case,soft-processor 1005 is capable of controlling the switch to connect theappropriate one of the circuit blocks to the I/O pins to communicatewith the peripheral based upon the identifier that is received, e.g.,the value.

In the example of FIG. 13, switch 1335 is described as being connectedto I/O pins of SOC 200. In one or more other embodiments, switch 1335can be connected to any signals available within programmable circuitry204. For example, switch 1335 can be coupled to one or more signals ofanother circuit and/or system implemented within programmable circuitry204 (e.g., another circuit within an overlay), to one or more signals ofa partially reconfigurable region within programmable circuitry 204, toone or more I/O pins of SOC 200, or any combination thereof. Switch 1335provides increased flexibility for connecting slave processor 1000 toany of a variety of signals and/or circuits of SOC 200 and/or toperipherals thereof.

FIG. 14 illustrates another example implementation of slave processor1000. In the example of FIG. 14, slave processor 1000 is coupled to acircuit block 1405. Circuit block 1405 can be a hardware accelerator orany type of circuit block (e.g., a core) that can be controlled by acontroller as implemented by slave processor 1000. Slave processor 1000is capable of controlling operation of circuit block 1405 via signals1410.

As discussed, slave processor 1000 is controlled by processor 206.Accordingly, processor 206 is capable of customizing slave processor1000 to control operation of circuit block 1405. As an illustrative andnon-limiting example, slave processor 1000 is capable of creating ahardware data path around circuit block 1405. In one or moreembodiments, slave processor 1000 is capable of connecting circuit block1405 to processor 206 and/or to other circuits that may be implementedin programmable circuitry 204. Processor 206 is capable of starting oneor more of slave processors 1000 where each provides a hardware datapath around a circuit block such as circuit block 1405 to perform agiven task.

In one or more embodiments, slave processor 1000 is capable ofconfiguring circuit block 1405. For example, circuit block 1405 mayincluding one or more control or configuration registers. Soft-processor1005 is capable of writing to these registers. Soft-processor 1005, forexample, is provided with the instructions and/or data necessary tocommunicate with circuit block 1405 and configure circuit block 1405 asmay be required and/or to update circuit block 1405 in during operation.As an illustrative and non-limiting example, circuit block 1405 mayimplement a programmable filter. Soft-processor 1005 is capable ofwriting to the registers of circuit block 1405 to implement particularfilter operations and subsequently write to the registers of circuitblock 1405 again to implement different filter operations.

In one or more embodiments, slave processor 1000 is capable ofperforming tasks or operations that have been offloaded from processor206. As an illustrative and non-limiting example, processor 206 iscapable of selecting a particular operation or calculation foroffloading to slave processor 1000. Processor 206 is capable ofproviding the instructions and/or data necessary to instruction memory1015 and/or data memory 1020 for slave processor 1000 as describedherein to perform the calculation. Slave processor 1000 returns theresults to processor 206 thereby freeing processor 206 to perform otheroperations. In one or more embodiments, processor 206 is capable ofcompiling program code to generate instructions for soft-processor 1005and writing such instructions to instruction memory 1015. Still, asdiscussed herein, instructions provided to soft-processor 1005 byprocessor 206 can originate from any of a variety of different sources.

FIG. 15 illustrates an example method 1500 of using a slave processor.FIG. 15 can be performed by processor 206 of SOC 200. In block 1505,processor 206 is capable of implementing slave processor 1000 withinprogrammable circuitry 204 of SOC 200. In one or more embodiments, slaveprocessor 1000 is implemented by loading a bitstream under control ofprocessor 206, wherein the bitstream specifies slave processor 1000. Inparticular embodiments, slave processor 1000 is part of an overlay thatis implemented within programmable circuitry 204 by processor 206. Thebitstream or overlay, as the case may be, may be loaded by processor 206through execution of an HPL library.

In block 1510, processor 206 is capable of holding soft-processor 1005in a reset state. For example, processor 206 is capable of providingcontrol signals 1025 to reset circuit 1010. Reset circuit 1010 iscapable of interpreting control signal 1025 and providing the necessarysignal(s) to soft-processor 1005 to hold soft-processor 1005 in thereset state. In one or more embodiments where reset circuit 1010 is notincluded in slave processor 1000, processor 206 is capable of providingcontrol signals 1025 directly to soft-processor 1005. While held in thereset state, soft-processor 1005 is unable to execute any instructionsor operate on data. In effect, slave processor 1000 is idle whilesoft-processor 1005 is held in the reset state.

In block 1515, processor 206 is capable of loading new instructions intoinstruction memory 1015 of slave processor 1000. In addition, or in thealternative, processor 206 is capable of loading new data into datamemory 1020 of slave processor 1000. In block 1520, processor 206 iscapable of releasing soft-processor 1005 from reset. Accordingly, inresponse to being released from reset, soft-processor 1005 is capable ofstarting execution of the new instructions and/or operating on the newdata.

FIG. 16 illustrates an example method 1600 of implementing overlays.Method 1600 can be performed by an SOC such as SOC 200 of FIGS. 1 and 2.Method 1600 can begin in a state where processor 206 is executing anapplication. The application can be implemented in an HPL.

In block 1605, processor 206 selects an overlay for implementationwithin SOC 200. As an illustrative and non-limiting example, the overlaymay be configured for performing pattern checking or image processing.The overlay to be implemented is determined through execution of theapplication, e.g., processor 206 selects the overlay by executing theapplication.

In one or more embodiments, processor 206 is capable of downloading anoverlay from one or more sources 145. Processor 206 is capable ofdownloading the selected overlay and installing the overlay withinproductivity platform 100. For example, processor 206 is capable ofperforming a pip install of the overlay in the case wherein thehigh-productivity language is Python. Processor 206 is capable ofsetting up the files of the overlay, e.g., any overlay software such asHPL libraries, the HPL API for the overlay, metadata describing theoverlay, in correct directories and/or locations in memory 110.Processor 206 is further capable of updating the HPL (e.g., Python)paths for the installed libraries for HPL kernel 308 and/or forserver-based IDE 306 and/or for other components of framework 304.

In one or more embodiments, processor 206 is capable of accessing anoverlay that is already stored and available in memory 110.

In block 1610, processor 206 is capable of importing the selectedoverlay. In response to importing the selected overlay, processor 206 iscapable of loading overlay into configuration memory cells therebyphysically implementing the circuit design specified by the overlaywithin programmable circuitry 204 of SOC 200. The overlay is loadedusing a function implemented in the HPL language. In one or moreembodiments, the function is implemented in an ELL such as C/C++ and iswrapped in the HPL. The HPL function, when executed, delivers theoverlay to the appropriate internal port of SOC 200 for loading thebitstream into configuration memory cells. For example, the HPL functioncan deliver the overlay to the PCAP or the ICAP of SOC 200.

In block 1615, processor 206 optionally processes a static list offunctionality of the bitstream of the overlay. In one or moreembodiments, the static list is, or is part of, the metadata portion ofthe overlay software for the overlay. In an example, the static list isspecified as a JSON formatted file, e.g., as a JSON table. In anotherexample, the static list is specified as a TCL file or files. The JSONfile and the TCL file are examples of metadata that can be stored aspart of an overlay.

In particular embodiments, processor 206 is capable of parsing thestatic list of functionality, e.g., the metadata, of the bitstream. Fromthe static list, processor 206, for example, is capable of determiningthe particular IPs (e.g., cores) included in the overlay. In the casewhere the bitstream specifies a soft-processor, e.g., a slave processor1000, the static list can specify the memory map of the soft-processorthereby allowing processor 206 to interact with the soft-processor. Forexample, the memory map indicates the addresses for the instructionmemory and/or the data memory of the slave processor for use byprocessor 206. In another example, processor 206, is capable of parsingthe static list and checking that correct drivers are available in thelibrary for processor 206 to interact with the overlay.

As an illustrative and non-limiting example, the metadata can specifythe number of slave processors 1000 included in the overlay (e.g.,number of each different core included in the overlay) and the addresseswhere each of the slave processors 1000 (e.g., cores) is located.Accordingly, processor 206, in response to parsing the metadata, iscapable of customizing drivers for each slave processor 1000 at runtimefor the particular bitstream of the overlay that is being implemented.Each driver, for example, can be customized with the specific address ofthe slave processor with which processor 206 is to communicate.

In one or more embodiments, the overlay that is initially implemented inSOC 200 can be an overlay configured for performing self-test. Theoverlay circuit implemented in programmable circuitry 204 can indicatethe status of the self-test, e.g., pass, fail, or a different state. Inresponse to the value returned by the overlay circuit performingself-test, processor 206 is capable of selecting a different overlay forimplementation in SOC 200 based upon the particular value that isreturned. In such an example, processor 206 is selecting and dynamicallyimplementing a particular overlay based upon a parameter determined atruntime.

FIG. 17 illustrates an example implementation of an SOC including probecapabilities and a soft-processor. In the example of FIG. 17, an overlayincludes a slave processor 1000, a trace buffer 610, and a circuit block1705. Memory 105 is located off-chip of SOC 200. Processor 206 isincluded in the PS 202. Circuit block 1705, slave processor 1000, andtrace buffer 610, being part of an overlay, are implemented inprogrammable circuitry 204.

In the example of FIG. 17, slave processor 1000 is tasked withcontrolling operation of trace buffer 610. For example, processor 206has offloaded functions as described herein relating to control of tracebuffer 610 and analysis of trace data 635 to slave processor 1000.

Trace buffer 610 is capable of probing one or more signals of circuitblock 1705. Allocation of the portion of memory 105 can be performed byprocessor 206 and/or by slave processor 1000 under control of processor206. In the example shown, slave processor 1000 is capable of accessingmemory 105. For example, slave processor 1000 is capable of accessinganother port of memory controller 210 (not shown). As such, slaveprocessor 1000 is capable of performing functions relating to theanalysis of trace data 635 that otherwise may be performed by processor206.

As an illustrative and non-limiting example, slave processor 1000 iscapable of starting and stopping trace buffer 610 and performing theother functions relating to control of trace buffer 610 described inconnection with processor 206. In response to slave processor 1000detecting a particular condition within trace data 635, slave processor1000 is capable of triggering an interrupt of processor 206. In responseto the interrupt, processor 206 can take further action.

The overlay circuit of FIG. 17 also illustrates another capability thatcan be incorporated into slave processor 1000 and/or a soft-processorimplemented in programmable circuitry 204. Slave processor 1000 (or asoft-processor) is capable of accessing memory 105, which is alsoutilized by processor 206 as runtime program execution memory. As such,processor 206 and slave processor 1000 are capable of exchanging datausing instruction memory 1015 and/or data memory 1020, but also throughmemory 105.

In one or more embodiments, soft-processor 105 is capable of accessingmemory 105 in a same or similar manner as described in connection withDMA circuit 630 of trace buffer 610. Accessing memory 105 involvescrossing from a physical address memory domain to an MMU managed virtualmemory domain. Accordingly, processor 206 is capable of allocating aregion of memory 105 that may be accessed and used (e.g., read and/orwritten) by soft-processor 1005. Processor 206 is capable of providing apointer to the region in memory 105 to soft-processor 1005 via datamemory 1020. Soft-processor 1005, with the pointer, is capable ofaccessing the region of memory 105. As an illustrative and non-limitingexample, soft-processor 1005 is capable of accessing trace data 635using this technique. In particular embodiments, soft-processor 1005 iscoupled to memory controller 210 (not shown) to access memory 105. Inparticular embodiments, soft-processor 1005 is capable of accessing aDMA circuit block that may be implemented in the overlay in programmablecircuitry 204 and/or a DMA circuit block implemented in PS 202 The DMAcircuit block can be coupled to memory controller 210.

In particular embodiments, soft-processor 1005 includes one or moreinterrupt ports as described. The interrupt port may be coupled to othercircuitry implemented within the overlay circuit and/or implementedwithin programmable circuitry 204. Such circuitry is capable ofgenerating an interrupt to soft-processor 1005. As an illustrative andnon-limiting example, circuitry implemented in programmable circuitry204 is coupled to reset circuit 1010 (e.g., with signals 1025 or withoutsignal 1025 being provided to reset circuit 1010) or is coupled directlyto the reset port of soft-processor 1005. Soft-processor 1005 is capableof responding to the interrupt and taking further action. For example,soft-processor 1005 is capable of responding by implementing one or moreinterrupt routines which may or may not include generating an interruptto processor 206.

Within this disclosure, examples are provided where an overlay isimplemented in programmable circuitry 204 to implement an overlaycircuit. In one or more embodiments, two or more overlays may beimplemented concurrently within programmable circuitry 204. For example,each different overlay may be implemented in a different region ofprogrammable circuitry. Further, overlay circuits may be configured tocommunicate with processor 206 and with one another when implemented inprogrammable circuitry 204. As discussed, processor 206 is capable ofcontrolling overlay implementation in programmable circuitry 204 viaframework 304 whether one or more overlays are implemented concurrently.

In one or more embodiments, programmable circuitry of SOC 200 may beimplemented as field programmable gate array (FPGA) circuitry that maybe programmed to perform specified functions. FPGA type programmablecircuitry typically includes an array of programmable tiles. Theseprogrammable tiles may include, for example, input/output blocks (IOBs),configurable logic blocks (CLBs), dedicated BRAMs, multipliers, digitalsignal processing blocks (DSPs), processors, clock managers, delay lockloops (DLLs), and so forth.

Another type of programmable circuitry includes circuitry found incomplex programmable logic device, or CPLDs. CPLD type of programmablecircuitry includes two or more “function blocks” connected together andto input/output (I/O) resources by an interconnect switch matrix. Eachfunction block of the CPLD includes a two-level AND/OR structure similarto those used in programmable logic arrays (PLAs) and programmable arraylogic (PAL) devices. In CPLDs, configuration data is typically storedon-chip in non-volatile memory. In some CPLDs, configuration data isstored on-chip in non-volatile memory, then downloaded to volatilememory as part of an initial configuration (programming) sequence.

For all of these programmable ICs, the functionality of the device iscontrolled by data bits provided to the device for that purpose. Thedata bits may be stored in volatile memory (e.g., static memory cells,as in FPGAs and some CPLDs), in non-volatile memory (e.g., FLASH memory,as in some CPLDs), or in any other type of memory cell.

FIG. 18 illustrates another example architecture 1800 for an IC. In oneaspect, architecture 1800 may be implemented within a programmable IC.For example, architecture 1800 may be used to implement a fieldprogrammable gate array (FPGA). Architecture 1800 is also representativeof an SOC type of IC. As discussed, an SOC is an IC that includes aprocessor that executes program code and one or more other circuits. Theother circuits may be implemented as hardwired circuitry, programmablecircuitry, and/or a combination thereof. The circuits may operatecooperatively with one another and/or with the processor.

As shown, architecture 1800 includes several different types ofprogrammable circuit, e.g., logic, blocks. For example, architecture1800 may include a large number of different programmable tilesincluding multi-gigabit transceivers (MGTs) 1801, CLBs 1802, BRAMs 1803,IOBs 1804, configuration and clocking logic (CONFIG/CLOCKS) 1805, DSPs1806, specialized I/O blocks 1807 (e.g., configuration ports and clockports), and other programmable logic 1808 such as digital clockmanagers, ADCs, system monitoring logic, and so forth.

In some ICs, each programmable tile includes a programmable interconnectelement (INT) 1811 having standardized connections to and from acorresponding INT 1811 in each adjacent tile. Therefore, INTs 1811,taken together, implement the programmable interconnect structure forthe illustrated IC. Each INT 1811 also includes the connections to andfrom the programmable logic element within the same tile, as shown bythe examples included at the top of FIG. 18.

For example, a CLB 1802 may include a configurable logic element (CLE)1812 that may be programmed to implement user logic plus a single INT1811. A BRAM 1803 may include a BRAM logic element (BRL) 1813 inaddition to one or more INTs 1811. Typically, the number of INTs 1811included in a tile depends on the height of the tile. As pictured, aBRAM tile has the same height as five CLBs, but other numbers (e.g.,four) also may be used. A DSP 1806 may include a DSP logic element(DSPL) 1814 in addition to an appropriate number of INTs 1811. An IOB1804 may include, for example, two instances of an I/O logic element(IOL) 1815 in addition to one instance of an INT 1811. The actual I/Opads connected to IOL 1815 may not be confined to the area of IOL 1815.

In the example pictured in FIG. 18, a columnar area near the center ofthe die, e.g., formed of regions 1805, 1807, and 1808, may be used forconfiguration, clock, and other control logic. Horizontal areas 1809extending from this column may be used to distribute the clocks andconfiguration signals across the breadth of the programmable IC.

Some ICs utilizing the architecture illustrated in FIG. 18 includeadditional logic blocks that disrupt the regular columnar structuremaking up a large part of the IC. The additional logic blocks may beprogrammable blocks and/or dedicated circuitry. For example, a processorblock depicted as PROC 1810 spans several columns of CLBs and BRAMs.

In one aspect, PROC 1810 may be implemented as dedicated circuitry,e.g., as a hardwired processor, that is fabricated as part of the diethat implements the programmable circuitry of the IC. PROC 1810 mayrepresent any of a variety of different processor types and/or systemsranging in complexity from an individual processor, e.g., a single corecapable of executing program code, to an entire processor system havingone or more cores, modules, co-processors, interfaces, or the like. Thevarious circuit blocks described can be utilized to form a “softprocessor” in that the various blocks of programmable circuitry may beused to form a processor that can execute program code as is the casewith PROC 1810. One or more soft-processors may be implemented incombination with PROC 1810.

The phrase “programmable circuitry” refers to programmable circuitelements within an IC, e.g., the various programmable or configurablecircuit blocks or tiles described herein, as well as the interconnectcircuitry that selectively couples the various circuit blocks, tiles,and/or elements according to configuration data that is loaded into theIC. For example, circuit blocks shown in FIG. 18 that are external toPROC 1810 such as CLBs 1802 and BRAMs 1803 are considered programmablecircuitry of the IC.

In general, the functionality of programmable circuitry is notestablished until configuration data is loaded into the IC. A set ofconfiguration bits may be used to program programmable circuitry of anIC such as an FPGA. The configuration bit(s) typically are referred toas a “configuration bitstream,” “bitstream,” and/or “overlay.” Ingeneral, programmable circuitry is not operational or functional withoutfirst loading a configuration bitstream into the IC. The configurationbitstream effectively implements a particular circuit design within theprogrammable circuitry. The circuit design specifies, for example,functional aspects of the programmable circuit blocks and physicalconnectivity among the various programmable circuit blocks.

Circuitry that is “hardwired” or “hardened,” i.e., not programmable, ismanufactured as part of the IC. Unlike programmable circuitry, hardwiredcircuitry or circuit blocks are not implemented after the manufacture ofthe IC through the loading of a configuration bitstream. Hardwiredcircuitry is generally considered to have dedicated circuit blocks andinterconnects, for example, that are functional without first loading aconfiguration bitstream into the IC, e.g., PROC 1810.

In some instances, hardwired circuitry may have one or more operationalmodes that can be set or selected according to register settings orvalues stored in one or more memory elements within the IC. Theoperational modes may be set, for example, through the loading of aconfiguration bitstream into the IC. Despite this ability, hardwiredcircuitry is not considered programmable circuitry as the hardwiredcircuitry is operable and has a particular function when manufactured aspart of the IC.

FIG. 18 is intended to illustrate an example architecture that may beused to implement an IC that includes programmable circuitry, e.g., aprogrammable fabric. For example, the number of logic blocks in acolumn, the relative width of the columns, the number and order ofcolumns, the types of logic blocks included in the columns, the relativesizes of the logic blocks, and the interconnect/logic implementationsincluded at the top of FIG. 18 are purely illustrative. In an actual IC,for example, more than one adjacent column of CLBs is typically includedwherever the CLBs appear, to facilitate the efficient implementation ofa user circuit design. The number of adjacent CLB columns, however, mayvary with the overall size of the IC. Further, the size and/orpositioning of blocks such as PROC 1810 within the IC are for purposesof illustration only and are not intended as limitations.

In one or more embodiments, a productivity platform includes an SOC. TheSOC can include programmable circuitry capable of implementing one ormore overlay circuits specified by overlays. The SOC further can includea processor that is coupled to the programmable circuitry. Theproductivity platform can include a first memory that is capable ofoperating as a program execution memory and a second memory capable ofstoring an operating system and a framework. The processor of the SOC iscapable of executing the operating system and the framework.

In particular embodiments, the framework is executable by the processorto perform overlay lifecycle management. The framework, for example,provides one or more HPL libraries of functions for performing overlaylifecycle management. Using the framework, the processor is capable ofperforming operations including, but not limited to, controlling one ormore overlay circuits, performing post-bitstream configuration ofoverlay circuits, initializing overlay circuits, executing overlays(e.g., loading overlays to implement overlay circuits in programmablecircuitry), interfacing with the circuits, halting or stopping overlaycircuits, and/or removing overlay circuits from programmable circuitry.These various functions can be performed by the processor in executingfunctions of one or more of the HPL libraries of the framework.

The SOC is capable of providing a self-hosted framework in that theprocessor of the SOC is capable of executing the framework to operate asa server and provide a browser enabled interface to one or more externaland separate (e.g., remote) data processing systems.

For purposes of explanation, specific nomenclature is set forth toprovide a thorough understanding of the various inventive conceptsdisclosed herein. The terminology used herein, however, is for thepurpose of describing particular aspects of the inventive arrangementsonly and is not intended to be limiting.

As defined herein, the term “high level programming language” (HLL)means a programming language, or set of instructions, used to program adata processing system where the instructions have a strong abstractionfrom the details of the data processing system, e.g., machine language.For example, a high level programming language may automate or hideaspects of operation of the data processing system such as memorymanagement. Though referred to as “high level programming languages,”these languages are typically classified as “efficiency-level languages”or “ELLs.” ELLs expose hardware-supported programing models directly.Examples of high level programming languages include, but are notlimited to, C, C++, and other suitable languages. An program written inan ELL is able to achieve multiple orders of magnitude higherperformance than a high-productivity languages particularly on emergingparallel hardware.

A high-productivity language (HPL) is a higher level programminglanguage than the aforementioned HLLs of the ELL variety.Characteristics of an HPL include, but are not limited to, beingimplemented as a scripting language. In another example, an HPL can beimplemented as an extension language. HPLs are characterized by adomain-specific (e.g., subject matter) implementation. HPLs provideabstractions that are suited or well-matched to the particular domain ofthat HPL. HPLs focus on programmer productivity as opposed to hardwareefficiency. HPLs may provide utilities for debugging and visualizationthat are useful for domain experts, but lack support for takingadvantage of lower level hardware functions such as parallel processingin systems. Examples of an HPL include, but are not limited to, Python,Scala, and R.

As defined herein, the singular forms “a,” “an,” and “the” are intendedto include the plural forms as well, unless the context clearlyindicates otherwise.

As defined herein, the terms “at least one,” “one or more,” and“and/or,” are open-ended expressions that are both conjunctive anddisjunctive in operation unless explicitly stated otherwise. Forexample, each of the expressions “at least one of A, B and C,” “at leastone of A, B, or C,” “one or more of A, B, and C,” “one or more of A, B,or C,” and “A, B, and/or C” means A alone, B alone, C alone, A and Btogether, A and C together, B and C together, or A, B and C together.

As defined herein, the term “automatically” means without userintervention. As defined herein, the term “user” means a human being.

As defined herein, the term “computer readable storage medium” means astorage medium that contains or stores program code for use by or inconnection with an instruction execution system, apparatus, or device.As defined herein, a “computer readable storage medium” is not atransitory, propagating signal per se. A computer readable storagemedium may be, but is not limited to, an electronic storage device, amagnetic storage device, an optical storage device, an electromagneticstorage device, a semiconductor storage device, or any suitablecombination of the foregoing. Memory, as described herein, is an exampleof a computer readable storage medium. A non-exhaustive list of morespecific examples of a computer readable storage medium may include: aportable computer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing.

As defined herein, the term “if” means “when” or “upon” or “in responseto” or “responsive to,” depending upon the context. Thus, the phrase “ifit is determined” or “if [a stated condition or event] is detected” maybe construed to mean “upon determining” or “in response to determining”or “upon detecting [the stated condition or event]” or “in response todetecting [the stated condition or event]” or “responsive to detecting[the stated condition or event]” depending on the context.

As defined herein, the term “responsive to” and similar language asdescribed above, e.g., “if,” “when,” or “upon,” means responding orreacting readily to an action or event. The response or reaction isperformed automatically in consequence of the action or event. Thus, ifa second action is performed “responsive to” a first action, there is acausal relationship between an occurrence of the first action and anoccurrence of the second action. The term “responsive to” indicates thecausal relationship.

As defined herein, the terms “one embodiment,” “an embodiment,” “one ormore embodiments,” “particular embodiments,” or similar language meanthat a particular feature, structure, or characteristic described inconnection with the embodiment is included in at least one embodimentdescribed within this disclosure. Thus, appearances of the phrases “inone embodiment,” “in an embodiment,” “in one or more embodiments,” “inparticular embodiments,” and similar language throughout this disclosuremay, but do not necessarily, all refer to the same embodiment. The terms“embodiment” and “arrangement” are used interchangeably within thisdisclosure.

As defined herein, the term “output” means storing in physical memoryelements, e.g., devices, writing to display or other peripheral outputdevice, sending or transmitting to another system, exporting, or thelike.

As defined herein, the term “processor” means at least one hardwarecircuit. The hardware circuit may be configured to carry outinstructions contained in program code. The hardware circuit may be anintegrated circuit. Examples of a processor include, but are not limitedto, a central processing unit (CPU), an array processor, a vectorprocessor, a digital signal processor (DSP), a field-programmable gatearray (FPGA), a programmable logic array (PLA), an application specificintegrated circuit (ASIC), programmable logic circuitry, and acontroller.

As defined herein, the term “real-time” means a level of processingresponsiveness that a user or system senses as sufficiently immediatefor a particular process or determination to be made, or that enablesthe processor to keep up with some external process.

The terms first, second, etc. may be used herein to describe variouselements. These elements should not be limited by these terms, as theseterms are only used to distinguish one element from another unlessstated otherwise or the context clearly indicates otherwise.

A computer program product may include a computer readable storagemedium (or media) having computer readable program instructions thereonfor causing a processor to carry out aspects of the inventivearrangements described herein. Within this disclosure, the term “programcode” is used interchangeably with the term “computer readable programinstructions.” Computer readable program instructions described hereinmay be downloaded to respective computing/processing devices from acomputer readable storage medium or to an external computer or externalstorage device via a network, for example, the Internet, a LAN, a WANand/or a wireless network. The network may include copper transmissioncables, optical transmission fibers, wireless transmission, routers,firewalls, switches, gateway computers and/or edge devices includingedge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations forthe inventive arrangements described herein may be assemblerinstructions, instruction-set-architecture (ISA) instructions, machineinstructions, machine dependent instructions, microcode, firmwareinstructions, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language and/or procedural programming languages.Computer readable program instructions may include state-setting data.The computer readable program instructions may execute entirely on theuser's computer, partly on the user's computer, as a stand-alonesoftware package, partly on the user's computer and partly on a remotecomputer or entirely on the remote computer or server. In the latterscenario, the remote computer may be connected to the user's computerthrough any type of network, including a LAN or a WAN, or the connectionmay be made to an external computer (for example, through the Internetusing an Internet Service Provider). In some cases, electronic circuitryincluding, for example, programmable logic circuitry, an FPGA, or a PLAmay execute the computer readable program instructions by utilizingstate information of the computer readable program instructions topersonalize the electronic circuitry, in order to perform aspects of theinventive arrangements described herein.

Certain aspects of the inventive arrangements are described herein withreference to flowchart illustrations and/or block diagrams of methods,apparatus (systems), and computer program products. It will beunderstood that each block of the flowchart illustrations and/or blockdiagrams, and combinations of blocks in the flowchart illustrationsand/or block diagrams, may be implemented by computer readable programinstructions, e.g., program code.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe operations specified in the flowchart and/or block diagram block orblocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operations to be performed on the computer, otherprogrammable apparatus or other device to produce a computer implementedprocess, such that the instructions which execute on the computer, otherprogrammable apparatus, or other device implement the functions/actsspecified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousaspects of the inventive arrangements. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified operations.

In some alternative implementations, the operations noted in the blocksmay occur out of the order noted in the figures. For example, two blocksshown in succession may be executed substantially concurrently, or theblocks may sometimes be executed in the reverse order, depending uponthe functionality involved. In other examples, blocks may be performedgenerally in increasing numeric order while in still other examples, oneor more blocks may be performed in varying order with the results beingstored and utilized in subsequent or other blocks that do notimmediately follow. It will also be noted that each block of the blockdiagrams and/or flowchart illustration, and combinations of blocks inthe block diagrams and/or flowchart illustration, may be implemented byspecial purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

The corresponding structures, materials, acts, and equivalents of allmeans or step plus function elements that may be found in the claimsbelow are intended to include any structure, material, or act forperforming the function in combination with other claimed elements asspecifically claimed.

One or more embodiments are directed to an integrated circuit (IC). Inone aspect, an IC can include programmable circuitry configured toimplement an overlay circuit specified by an overlay. The IC can alsoinclude a processor coupled to the programmable circuitry and configuredto control the programmable circuitry through execution of a framework,wherein the framework provides HPL control of implementation of theoverlay in the programmable circuitry.

In an aspect, the overlay circuit is configured to perform a hardwareoperation and the framework provides a HPL library for controlling thehardware operation of the overlay circuit.

In another aspect, the overlay has a HPL application programminginterface for accessing the hardware operation of the overlay circuit.

In another aspect, the processor, in executing the framework isself-hosting.

In another aspect, the processor is configured to execute the frameworkto provide a browser-enabled interface to a data processing system.

In another aspect, the IC is included in a productivity platform. Theproductivity platform can include a RAM coupled to the IC and configuredas program execution memory for the processor, a bulk storage memorycoupled to the processor and configured to store an operating system andthe framework, and an I/O interface coupled to the IC.

In another aspect, the framework includes a server-based IDE executableby the processor for developing an application in the HPL.

In another aspect, the processor is configured to perform post-bitstreamconfiguration of the overlay circuit once implemented within theprogrammable circuitry.

In another aspect, the overlay include at least one RCE.

In another aspect, the processor is configured to execute an overlayapplication.

One or more embodiments are directed to a method. In an aspect, a methodcan include providing programmable circuitry within an IC configured toimplement an overlay circuit specified by an overlay. The method canalso include providing a processor within the IC coupled to theprogrammable circuitry and configured to control the programmablecircuitry through execution of a framework, wherein the frameworkprovides HPL control of implementation of the overlay in theprogrammable circuitry.

In an aspect, the overlay circuit is configured to perform a hardwareoperation and the framework provides a HPL library for controlling thehardware operation of the overlay circuit.

In another aspect, the overlay has a HPL application programminginterface for accessing the hardware operation of the overlay circuit.

In another aspect, the processor, in executing the framework, isself-hosting.

In another aspect, the processor is configured to execute the frameworkto provide a browser-enabled interface to a data processing system.

In another aspect, the integrated circuit is included in a productivityplatform. The method can include providing a RAM coupled to theintegrated circuit and configured as program execution memory for theprocessor, providing a bulk storage memory coupled to the processor andconfigured to store an operating system and the framework, and providingan I/O interface coupled to the integrated circuit.

In another aspect, the framework includes a server-based IDE executableby the processor for developing an application in the HPL.

In another aspect, the processor is configured to perform post-bitstreamconfiguration of the overlay circuit once implemented within theprogrammable circuitry.

In another aspect, the overlay includes at least one run-timecustomizable element.

In another aspect, the processor is configured to execute an overlayapplication.

One or more embodiments are directed to an IC. In one aspect, an IC caninclude programmable circuitry configured to implement an overlaycircuit specified by an overlay, wherein the overlay circuit includes atrace buffer configured to receive a probed signal from circuitry withinthe overlay circuit. The trace buffer can be configured to generatetrace data from the probed signal and store the trace data in a runtimeallocated memory. The IC can include a processor coupled to theprogrammable circuitry and configured to control operation of the tracebuffer, wherein the processor is configured to read the trace data fromthe runtime allocated memory.

In an aspect, the trace buffer includes a DMA circuit configured towrite the trace data to the runtime allocated memory.

In another aspect, the trace buffer includes a FIFO memory coupled tothe DMA circuit, wherein the FIFO memory is configured to store thetrace data, wherein the DMA circuit reads the trace data from the FIFOfor writing to the runtime allocated memory.

In another aspect, the trace buffer includes a trigger circuitconfigured to store data within the FIFO memory.

In another aspect, the trace buffer includes a switch coupled to aplurality of signals, wherein the switch is controllable by theprocessor to pass a selected signal of the plurality of signals as theprobed signal.

In another aspect, the processor is configured to execute a softwarelibrary for a HPL for controlling capture of trace data from thecircuitry within the overlay circuit and for analyzing the trace datafrom the runtime allocated memory.

In another aspect, the processor, executing the software library, isconfigured to arm the trace buffer.

In another aspect, the processor, executing the software library, isconfigured to control the trace buffer.

In another aspect, the processor is configured to provide trace data toa data processing system via a browser-enabled interface.

In another aspect, the processor is configured to generate avisualization of the trace data that is provided to a data processingsystem via a browser-enabled interface.

In another aspect, the processor is configured to modify an applicationimplemented within the programmable circuitry in response to detecting acondition in the trace data.

One or more embodiments are directed to a method. In an aspect, a methodcan include providing a programmable circuitry configured to implementan overlay circuit specified by an overlay, wherein the overlay circuitincludes a trace buffer configured to receive a probed signal fromcircuitry within the overlay circuit. The trace buffer can be configuredto generate trace data from the probed signal and store the trace datain a runtime allocated memory. The method can also include providing aprocessor coupled to the programmable circuitry and configured tocontrol operation of the trace buffer, wherein the processor isconfigured to read the trace data from the runtime allocated memory.

In an aspect, the method can include providing a DMA circuit within thetrace buffer configured to write the trace data to the runtime allocatedmemory.

In another aspect, the method can include providing a FIFO memory withinthe trace buffer, wherein the FIFO memory is coupled to the DMA circuit,wherein the FIFO memory is configured to store the trace data, andwherein the DMA circuit reads the trace data from the FIFO for writingto the runtime allocated memory.

In another aspect, the method can include providing a trigger circuitwithin the trace buffer configured to store data within the FIFO memory.

In another aspect, the method can include providing a switch within thetrace buffer coupled to a plurality of signals, wherein the switch iscontrollable by the processor to pass a selected signal of the pluralityof signals as the probed signal.

In another aspect, the processor is configured to execute a softwarelibrary for a HPL for controlling capture of trace data from thecircuitry within the overlay circuit and for analyzing the trace datafrom the runtime allocated memory.

In another aspect, the processor, executing the software library, isconfigured to arm the trace buffer.

In another aspect, the processor, executing the software library, isconfigured to control the trace buffer.

In another aspect, the processor is configured to provide trace data toa data processing system via a browser-enabled interface.

In another aspect, the processor is configured to generate avisualization of the trace data that is provided to a data processingsystem via a browser-enabled interface.

In another aspect, the processor is configured to modify an applicationimplemented within the programmable circuitry in response to detecting acondition in the trace data.

One or more embodiments are directed to an IC. In one aspect, an IC caninclude a slave processor configured to execute instructions, whereinthe slave processor is implemented in programmable circuitry of the IC.The IC can include a processor coupled to the slave processor, whereinthe processor is hardwired and configured to control operation of theslave processor.

In an aspect, the processor controls operation of the slave processor byexecuting a library implemented in a productivity-level language.

In another aspect, the processor is configured to provide the slaveprocessor with the instructions at runtime.

In another aspect, the slave processor includes a soft-processorconfigured to execute the instructions.

In another aspect, the slave processor can include an instruction memoryconfigured to receive the instructions from the processor, wherein thesoft-processor retrieves the instructions from the instruction memoryfor execution.

In another aspect, the processor is configured to hold the slaveprocessor in reset while loading different instructions into theinstruction memory and release the soft-processor from reset in responseto loading the different instructions into the instruction memory.

In another aspect, the slave processor can include a data memoryconfigured to receive data from the processor, wherein thesoft-processor is configured to retrieve the data from the data memoryand write result data back to the data memory for retrieval by theprocessor.

In another aspect, the data memory includes a region of memory reservedfor receiving a command from the processor during operation, wherein theregion of memory is read-only for the soft-processor, and wherein thesoft-processor executes the command during runtime.

the processor is configured to hold the soft-processor in reset whileloading new data into the data memory and release the soft-processorfrom reset in response to loading the new data into the data memory.

In another aspect, wherein the slave processor can include a pluralityof circuit blocks each configured to perform a different function. Eachof the plurality of circuit blocks is coupled to the soft-processor. Theslave processor can also include a switch coupled to each of theplurality of circuit blocks. The switch can be controlled by thesoft-processor to selectively couple at least one of the plurality ofcircuit blocks to signals of the integrated circuit.

In another aspect, the soft-processor is configured to generate aninterrupt to the processor in response to detecting a predeterminedcondition in additional circuitry implemented in the programmablecircuitry of the integrated circuit.

One or more embodiments are directed to a method. In an aspect, a methodcan include providing a slave processor configured to executeinstructions, wherein the slave processor is implemented in programmablecircuitry of an IC. The method can also include providing, within theIC, a processor coupled to the slave processor, wherein the processor ishardwired and configured to control operation of the slave processor.

In an aspect, the processor controls operation of the slave processor byexecuting a library implemented in a productivity-level language.

In another aspect, the processor is configured to provide the slaveprocessor with the instructions at runtime.

In another aspect, the method can include providing a soft-processorwithin the slave processor configured to execute the instructions.

In another aspect, the method can include providing an instructionmemory within the slave processor. The instruction memory can beconfigured to receive the instructions from the processor, wherein thesoft-processor retrieves the instructions from the instruction memoryfor execution.

In another aspect, the processor is configured to hold the slaveprocessor in reset while loading different instructions into theinstruction memory and release the soft-processor from reset in responseto loading the different instructions into the instruction memory.

In another aspect, the method can include providing a data memory. Thedata memory can be configured to receive data from the processor. Thesoft-processor can be configured to retrieve the data from the datamemory and write result data back to the data memory for retrieval bythe processor.

In another aspect, the data memory includes a region of memory reservedfor receiving a command from the processor during operation, wherein theregion of memory is read-only for the soft-processor, and wherein thesoft-processor executes the command during runtime.

In another aspect, the method can include providing a plurality ofcircuit blocks within the slave processor, wherein each circuit blockcan be configured to perform a different function. Each of the pluralityof circuit blocks can be coupled to the soft-processor. The method caninclude providing a switch within the slave processor. The switch can becoupled to each of the plurality of circuit blocks. The switch can becontrolled by the soft-processor to selectively couple at least one ofthe plurality of circuit blocks to signals of the integrated circuit.

In another aspect, the soft-processor is configured to generate aninterrupt to the processor in response to detecting a predeterminedcondition in additional circuitry implemented in the programmablecircuitry of the integrated circuit.

The description of the inventive arrangements provided herein is forpurposes of illustration and is not intended to be exhaustive or limitedto the form and examples disclosed. The terminology used herein waschosen to explain the principles of the inventive arrangements, thepractical application or technical improvement over technologies foundin the marketplace, and/or to enable others of ordinary skill in the artto understand the inventive arrangements disclosed herein. Modificationsand variations may be apparent to those of ordinary skill in the artwithout departing from the scope and spirit of the described inventivearrangements. Accordingly, reference should be made to the followingclaims, rather than to the foregoing disclosure, as indicating the scopeof such features and implementations.

What is claimed is:
 1. An integrated circuit, comprising: a slaveprocessor configured to execute instructions, wherein the slaveprocessor is implemented in programmable circuitry of the integratedcircuit; and a processor coupled to the slave processor, wherein theprocessor is hardwired and configured to control operation of the slaveprocessor.
 2. The integrated circuit of claim 1, wherein the processorcontrols operation of the slave processor by executing a libraryimplemented in a productivity-level language.
 3. The integrated circuitof claim 1, wherein the processor is configured to provide the slaveprocessor with the instructions at runtime.
 4. The integrated circuit ofclaim 3, wherein the slave processor comprises a soft-processorconfigured to execute the instructions.
 5. The integrated circuit ofclaim 4, wherein the slave processor further comprises: an instructionmemory configured to receive the instructions from the processor,wherein the soft-processor retrieves the instructions from theinstruction memory for execution.
 6. The integrated circuit of claim 5,wherein the processor is configured to hold the slave processor in resetwhile loading different instructions into the instruction memory.
 7. Theintegrated circuit of claim 4, wherein the slave processor furthercomprises: a data memory configured to receive data from the processor,wherein the soft-processor is configured to retrieve the data from thedata memory and write result data back to the data memory for retrievalby the processor.
 8. The integrated circuit of claim 7, wherein the datamemory includes a region of memory reserved for receiving a command fromthe processor during operation, wherein the region of memory isread-only for the soft-processor, and wherein the soft-processorexecutes the command during runtime.
 9. The integrated circuit of claim4, wherein the slave processor further comprises: a plurality of circuitblocks each configured to perform a different function, wherein each ofthe plurality of circuit blocks is coupled to the soft-processor; and aswitch coupled to each of the plurality of circuit blocks, wherein thesoft-processor controls the switch to selectively couple at least one ofthe plurality of circuit blocks to signals of the integrated circuit.10. The integrated circuit of claim 4, wherein the soft-processor isconfigured to generate an interrupt to the processor in response todetecting a predetermined condition in additional circuitry implementedin the programmable circuitry of the integrated circuit.
 11. A method,comprising: providing a slave processor configured to executeinstructions, wherein the slave processor is implemented in programmablecircuitry of an integrated circuit; and providing, within the integratedcircuit, a processor coupled to the slave processor within theintegrated circuit, wherein the processor is hardwired and configured tocontrol operation of the slave processor.
 12. The method of claim 11,wherein the processor controls operation of the slave processor byexecuting a library implemented in a productivity-level language. 13.The method of claim 11, wherein the processor is configured to providethe slave processor with the instructions at runtime.
 14. The method ofclaim 13, wherein the slave processor comprises a soft-processorconfigured to execute the instructions.
 15. The method of claim 14,further comprising: providing an instruction memory configured toreceive the instructions from the processor, wherein the soft-processorretrieves the instructions from the instruction memory for execution.16. The method of claim 15, wherein the processor is configured to holdthe slave processor in reset while loading different instructions intothe instruction memory and release the soft-processor from reset inresponse to loading the different instructions into the instructionmemory.
 17. The method of claim 14, further comprising: providing a datamemory configured to receive data from the processor, wherein thesoft-processor is configured to retrieve the data from the data memoryand write result data back to the data memory for retrieval by theprocessor.
 18. The method of claim 17, wherein the data memory includesa region of memory reserved for receiving a command from the processorduring operation, wherein the region of memory is read-only for thesoft-processor, and wherein the soft-processor executes the commandduring runtime.
 19. The method of claim 14, further comprising:providing a plurality of circuit blocks each configured to perform adifferent function, wherein each of the plurality of circuit blocks iscoupled to the soft-processor; and providing a switch coupled to each ofthe plurality of circuit blocks, wherein the soft-processor controls theswitch to selectively couple at least one of the plurality of circuitblocks to signals of the integrated circuit.
 20. The method of claim 14,wherein the soft-processor is configured to generate an interrupt to theprocessor in response to detecting a predetermined condition inadditional circuitry implemented in the programmable circuitry of theintegrated circuit.